Ssh copy id1/4/2024 ![]() It uses that in preference to the identity file. Otherwise, if this: ssh-add -L provides any output, ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys If the -i option is given then the identity file (defaults to Sometimes ssh-copy-id copies the wrong key to the remote server (may happen if you have several keys and/or are using non-default names for key files) or your authentication agent is misconfigured. I'm not an expert here but came across such issue too, here are my two cents in addition to all the other suggestions. Minor code may provide more informationĭebug2: we did not send a packet, disable methodĭebug3: remaining preferred: keyboard-interactive,passwordĭebug1: Next authentication method: publickeyĭebug1: Trying private key: /home/saguna/.ssh/identityĭebug3: no such identity: /home/saguna/.ssh/identityĭebug1: Offering public key: /home/saguna/.ssh/id_rsaĭebug2: we sent a publickey packet, wait for replyĭebug1: Trying private key: /home/saguna/.ssh/id_dsaĭebug3: no such identity: /home/saguna/.ssh/id_dsaĭebug1: Next authentication method: password: This is the debug info from the client: debug2: key: /home/saguna/.ssh/identity ((nil))ĭebug2: key: /home/saguna/.ssh/id_rsa (0x2b31921be9a0)ĭebug2: key: /home/saguna/.ssh/id_dsa ((nil))ĭebug1: Authentications that can continue: publickey,gssapi-with-mic,passwordĭebug3: start over, passed a different list publickey,gssapi-with-mic,passwordĭebug3: preferred gssapi-with-mic,publickey,keyboard-interactive,passwordĭebug3: authmethod_lookup gssapi-with-micĭebug3: remaining preferred: publickey,keyboard-interactive,passwordĭebug3: authmethod_is_enabled gssapi-with-micĭebug1: Next authentication method: gssapi-with-micĭebug3: Trying to reverse map address 192.168.1.75.ĭebug1: Unspecified GSS failure. What did I miss?ĮDIT: checked ssh_config and permissions as advised. Verified ~/.ssh/authorized_keys contains the client key.I generated RSA public key on the client.I'm trying to set up a passwordless SSH login on CentOS 5.4:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |