1.确定安装sshd:
[html] view plaincopy
- $ sudo apt-get install openssh-server
2.启动sshd:
[html] view plaincopy
- $ sudo net start sshd
[html] view plaincopy
- $ sudo ufw disable
检验方法:
输入命令:
[html] view plaincopy
- $ ssh localhost
若成功,则表示安装成功,且连接通过;
转载:http://blog.csdn.net/zlm_250/article/details/7979221
时间: 2024-10-25 23:56:00