关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

Linux开启ssh连接putty教程

发布时间:2019-10-22 07:09:38

照以下步骤输入命令并操作:

 

1、修改sshd_config文件,命令为:vi /etc/ssh/sshd_config 

 

2、将#PasswordAuthentication no的注释去掉,并且将NO修改为YES 

 

3、将#PermitRootLogin yes的注释去掉 

 

4、重新启动SSH服务,命令为:service sshd restart

 

5、验证SSH服务状态,命令为:service sshd status


下载 putty 

1.png


好的可以了,输入用户名密码,登陆成功了!

2.png

下一步设置sshd开机自动运行。chkconfig sshd on

3.png

重启一下,就可以了


/template/Home/Zkeys/PC/Static