Ubuntuの仮想マシンの---- rootアカウントは、リモート接続ソリューションの概要xshell使用することはできません「2」のUbuntu

症状:

  • XshellアクセスUbuntuのサーバーを使用し、接続することはできません

    症状

  • root以外のユーザーをテストxshell、あなたが適切に接続することができますが、それでもrootユーザーにアクセスできません。

ソリューション:

  1. 変更/etc/ssh/sshd_configするファイルをPermitRootLogin Prohibit-password追加#コメントアウト

  2. 新しいアドオン:PermitRootLogin yes

  3. sshサービスを再起動します。 /etc/init.d/ssh restart

  4. 再利用ルートの接続、OK!

転載リンク:https://blog.csdn.net/qq_35445306/article/details/78771398

参考リンク:https://www.cnblogs.com/vitre/p/5227456.html

おすすめ

転載: www.cnblogs.com/fh-fendou/p/11121995.html