常规设置 禁用 root 远程登陆 PermitRootLogin no 只允许私钥登陆 PubkeyAuthentication yes PasswordAuthentication no 转载于:https://my.oschina.net/colben/blog/3101762