設定について
ssh_config (sshの接続元)
GSSAPI 認証
ssh -v <hostname>
で詳細なログを出した時に、
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
Cannot determine realm for numeric host address
こんなものが出ることがある。
"GSS failure" つまり失敗している。
GSSAPI 認証とは何か…は調べきれていないが、
使わないのであれば切ってしまったほうが良いだろう。
/etc/ssh/ssh_config
Host *
GSSAPIAuthentication yes ← 削除(デフォルトに戻す)
service sshd restart
で反映。
sshd_config (sshの接続先)
パスワード認証
公開鍵認証しか使わないのであれば(以下略
/etc/ssh/sshd_config
PasswordAuthentication yes
↓
PasswordAuthentication no
service sshd restart
で反映。