Linux开启ssh连接putty教程

发布时间:2021-09-23

  照以下步骤输入命令并操作:linux服务器

  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

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

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

  重启一下,就可以了

  

注册即送1000元现金券