私の友人と私は、外部ネットワークから作業している彼のサーバーで ssh アクセスを取得しようとしています。彼は Debian 7.1 を実行しています。彼は内部ネットワークからサーバーにアクセスできますが、(もちろん外部ネットワークから) 彼のサーバーにアクセスしようとするたびに、次のエラーが発生します。
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/MyUser/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/MyUser/.ssh/id_dsa
debug3: no such identity: /Users/MyUser/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
MyUser@HisServer.com's password:
debug3: packet_send2: adding 64 (len 56 padlen 8 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
の許可~/.ssh/
は 700 で~/.ssh/*
600 です。
RSAAuthentication yes
PubkeyAuthentication yes
ChallengeResponseAuthentication yes
PasswordAuthentication no
UsePAM yes
彼のに含まれていsshd_config
ます。ポート チェッカーによると、ポート 22/tcp が開いています。最も奇妙なことは、ログにアクセスの履歴が見つからないことです。sudo grep ssh /var/log/*
彼の活動のみを表示します。したがって、問題を引き起こしているのはルーターの構成であると思われますが、ポートが開いている場合は ssh を実行できるのではないでしょうか?