Skip to main content

Thread: unable to ssh using keypair and still prompts for password


hellos, tring ssh using keypair generated using ssh-keygen -t rsa ,,but still prompts password,,here output ,ssh -v root@10.1.1.13
openssh_5.3p1 debian-3ubuntu7, openssl 0.9.8k 25 mar 2009
debug1: reading configuration data /etc/ssh/ssh_config
debug1: applying options *
debug1: connecting 10.1.1.13 [10.1.1.13] port 22.
debug1: connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: checking blacklist file /usr/share/ssh/blacklist.rsa-2048
debug1: checking blacklist file /etc/ssh/blacklist.rsa-2048
debug1: identity file /root/.ssh/id_dsa type -1
debug1: remote protocol version 2.0, remote software version openssh_5.3
debug1: match: openssh_5.3 pat openssh*
debug1: enabling compatibility mode protocol 2.0
debug1: local version string ssh-2.0-openssh_5.3p1 debian-3ubuntu7
debug1: ssh2_msg_kexinit sent
debug1: ssh2_msg_kexinit received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: ssh2_msg_kex_dh_gex_request(1024<1024<8192) sent
debug1: expecting ssh2_msg_kex_dh_gex_group
debug1: ssh2_msg_kex_dh_gex_init sent
debug1: expecting ssh2_msg_kex_dh_gex_reply
debug1: host '10.1.1.13' known , matches rsa host key.
debug1: found key in /root/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: ssh2_msg_newkeys sent
debug1: expecting ssh2_msg_newkeys
debug1: ssh2_msg_newkeys received
debug1: ssh2_msg_service_request sent
debug1: ssh2_msg_service_accept received
debug1: authentications can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: next authentication method: gssapi-keyex
debug1: no valid key exchange context
debug1: next authentication method: gssapi-with-mic
debug1: unspecified gss failure. minor code may provide more information
credentials cache file '/tmp/krb5cc_0' not found

debug1: unspecified gss failure. minor code may provide more information
credentials cache file '/tmp/krb5cc_0' not found

debug1: unspecified gss failure. minor code may provide more information


debug1: next authentication method: publickey
debug1: offering public key: /root/.ssh/id_rsa
debug1: authentications can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: trying private key: /root/.ssh/identity
debug1: trying private key: /root/.ssh/id_dsa
debug1: next authentication method: password
root@10.1.1.13's password:
can please tell why still asking password when have copied id-rsa.pub ~/.ssh/authorized keysin server has rhel 6 , on server ,,permitrootlogin set yes , password authentication set no in /etc/ssh/sshd_config



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] unable to ssh using keypair and still prompts for password


Ubuntu

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP