ssh接続はできているのですが、scpコマンドのファイル転送ができずに困っております。エラーの内容は以下の通りで、
Permission denied (publickey,gssapi-keyex,gssapi-with-mic). lost connection
-vvvオプションを利用してscpの実行ログを確認すると、
... (一部省略) ... debug1: Host 'svr05' is known and matches the RSA host key. debug1: Found key in /home/xxx/.ssh/known_hosts:1 debug2: bits set: 1038/2048 debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: Wrote 16 bytes for a total of 1197 debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug3: Wrote 52 bytes for a total of 1249 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/xxx/.ssh/identity ((nil)) debug2: key: /home/xxx/.ssh/id_rsa ((nil)) debug2: key: /home/xxx/.ssh/id_dsa ((nil)) debug2: key: /home/xxx/.ssh/id_ecdsa ((nil)) debug3: Wrote 68 bytes for a total of 1317 debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password debug3: authmethod_lookup gssapi-keyex debug3: remaining preferred: gssapi-with-mic,publickey,keyboard-interactive,password debug3: authmethod_is_enabled gssapi-keyex debug1: Next authentication method: gssapi-keyex debug1: No valid Key exchange context debug2: we did not send a packet, disable method debug3: authmethod_lookup gssapi-with-mic debug3: remaining preferred: publickey,keyboard-interactive,password debug3: authmethod_is_enabled gssapi-with-mic debug1: Next authentication method: gssapi-with-mic debug3: Trying to reverse map address 130.158.76.6. debug1: Unspecified GSS failure. Minor code may provide more information Credentials cache file '/tmp/krb5cc_52008' not found debug1: Unspecified GSS failure. Minor code may provide more information Credentials cache file '/tmp/krb5cc_52008' not found debug2: we did not send a packet, disable method debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Trying private key: /home/xxx/.ssh/identity debug3: no such identity: /home/xxx/.ssh/identity debug1: Trying private key: /home/xxx/.ssh/id_rsa debug3: no such identity: /home/xxx/.ssh/id_rsa debug1: Trying private key: /home/xxx/.ssh/id_dsa debug3: no such identity: /home/xxx/.ssh/id_dsa debug1: Trying private key: /home/xxx/.ssh/id_ecdsa debug3: no such identity: /home/xxx/.ssh/id_ecdsa debug2: we did not send a packet, disable method debug1: No more authentication methods to try.
という出力がありました。ログを見ても原因がよく分からないのですが、解決方法や確認すべき事をご存知の方はいらっしゃいますか?
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/12/18 00:18
2020/12/18 00:26
2020/12/18 02:23