1--确认sshserver是否启动
ps -e |grep ssh
如果只有ssh-agent那ssh-server还没有启动,需要/etc/init.d/ssh start,如果看到sshd那说明ssh-server已经启动了
2.--开启ssh-server服务
sudo apt-get install openssh-server
ssh-server配置文件位于/ etc/ssh/sshd_config,在这里可以定义SSH的服务端口,默认端口是22,你可以自己定义成其他端口号,如222。然后重启SSH服务:sudo /etc/init.d/ssh start
3-win7上面利用root登录即可
CentOS 下SSH无密码登录的配置 http://www.linuxidc.com/Linux/2012-05/61346.htm
Linux下实现SSH无密码验证登陆 http://www.linuxidc.com/Linux/2014-01/95917.htm
Ubuntu和CentOS如何配置SSH使得无密码登陆 http://www.linuxidc.com/Linux/2014-01/94794.htm