Windows 通过 Putty 远程连接 Linux
Linux版本 CentOS 6
1.查看是否已安装SSH
[root@localhost ~]# rpm -qa | grep ssh
openssh-clients-5.3p1-81.el6.i686
libssh2-1.2.2-11.el6_3.i686
openssh-server-5.3p1-81.el6.i686
openssh-askpass-5.3p1-81.el6.i686
openssh-5.3p1-81.el6.i686
2.修改SSH的配置
[root@localhost ~]# vi /etc/ssh/sshd_config
#Port 22 => Port 22
#AddressFamily any => AddressFamily any
3.重启SSH服务
[root@localhost ~]# /etc/rc.d/init.d/sshd restart
接下来就可以使用Putty登陆了。
参考:http://zhoualine.iteye.com/blog/1750569