VPS开启root用户登录SSH
sudo -inano /etc/ssh/sshd_config# Authentication:
PermitRootLogin yes //默认为no,需要开启root用户访问改为yes
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication yes //默认为no,改为yes开启密码登陆passwd root/etc/init.d/ssh restartsystemctl restart sshd.service最后更新于