cygwin 窗口太难看,改用xshell访问本机

cygwin 窗口太难看,改用xshell访问本机
1. 安装cygwin, 并安装sshd.(跟openssh有关的都选上^^)
2. 打开cygwin控制台:输入ssh-host-config,一路yes.(如果vista或者win7,需要右键->管理员身份运行 cygwin)
部分屏幕显示:

$ ssh-host-config
Overwrite existing /etc/ssh_config file? (yes/no) yes
Generating /etc/ssh_config file
Overwrite existing /etc/sshd_config file? (yes/no) yes
Privilege separation is set to yes by default since OpenSSH 3.3.
However, this requires a non-privileged account called 'sshd'.
For more info on privilege separation read /usr/share/doc/openssh/README.privsep.

Should privilege separation be used? (yes/no) yes
Generating /etc/sshd_config file

Host configuration finished. Have fun!

3. 提示安装成功. cygwin控制台 输入net start sshd, 启动 ssh服务.
$ net start sshd
CYGWIN sshd 服务正在启动 .
CYGWIN sshd 服务已经启动成功。
4.用xshell登陆localhost 本机用户名和密码即可

你可能感兴趣的:(cygwin 窗口太难看,改用xshell访问本机)