01_SSH
2018-01-10 本文已影响0人
对方不想理你并向你抛出一个异常
- Ubuntu 14.04 server开放root ssh登录权限
问题:普通帐号可以远程登录,但是root不行,输入密码后一直报错:permission denied
解决方法:vi /etc/ssh/sshd_config
将PermitRootLogin without-password
改为PermitRootLogin yes
然后重启ssh
restart ssh
vi /etc/ssh/sshd_config
PermitRootLogin without-password
改为PermitRootLogin yes
restart ssh