标签:
1、先停掉SSH服务:sudo stop ssh
2、卸载openssh-server:apt-get remove openssh-server
3、卸载openssh-client: apt-get remove openssh-server
4、安装openssh-server:apt-get install openssh-server
5、安装openssh-client:apt-get install openssh-client
6、安装完成以后,启动服务:sudo /etc/init.d/ssh start
7、启动后,查看服务是否正确启动: ps -e|grep ssh
8、确认ssh-server已经正常工作: netstat -tlp
转载:http://www.th7.cn/system/lin/201503/97254.shtml
标签:
原文地址:http://www.cnblogs.com/spring-sd/p/4944837.html