ssh ホストベース認証の失敗
Issue
ssh コマンドを実行して ssh サーバーにログインすると、アクセスが拒否されたことを示すメッセージが表示されます。
$ ssh ssh-server
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,hostbased).
"-vv" オプションを使用すると、デバッグ情報を一部表示することができます。
debug1:Host 'ssh-server' is known and matches the RSA host key.
debug1:Found key in /etc/ssh/ssh_known_hosts2:1
:
debug2: userauth_hostbased: chost ssh-client-FQDN.
debug2: we sent a hostbased packet, wait for reply
debug1:Authentications that can continue: publickey,gssapi-with-mic,password,hostbased
debug1:No more client hostkeys for hostbased authentication.
Environment
Red Hat Enterprise Linux 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.