linux开启ssh
in 默认分类 with 0 comment

linux开启ssh

in 默认分类 with 0 comment

确认密码正确的情况下

nano /etc/ssh/sshd_config

修改三个地方

   Port 22
   PermitRootLogin yes
   PasswordAuthentication yes

重启ssh服务

sudo service sshd restart