I used to login to a remote machine( I have to root of this machine) using key. Both my local machine and remote machine is in f23. From last few days, I can't login to this machine using key. It is asking for password. Here is the ssh -vvv:ssh -vvv avetaOpenSSH_7.1p1, OpenSSL 1.0.2d-fips 9 Jul 2015debug1: Reading configuration data /home/rudra/.ssh/configdebug1: /home/rudra/.ssh/config line 4: Applying options for avetadebug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 56: Applying options for *debug2: ssh_connect: needpriv 0debug1: Connecting to phy-aveta.physics.uu.se [130.238.194.143] port 22.debug1: Connection established.debug1: identity file /home/rudra/.ssh/id_rsa type 1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_rsa-cert type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_dsa type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_dsa-cert type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ecdsa type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ecdsa-cert type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ed25519 type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ed25519-cert type -1debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_7.1debug1: Remote protocol version 2.0, remote software version OpenSSH_7.1debug1: match: OpenSSH_7.1 pat OpenSSH* compat 0x04000000debug2: fd 3 setting O_NONBLOCKdebug1: Authenticating to phy-aveta.physics.uu.se:22 as 'rudra'debug3: hostkeys_foreach: reading file /home/rudra/.ssh/known_hostsdebug3: record_hostkey: found key type ECDSA in file /home/rudra/.ssh/known_hosts:16debug3: load_hostkeys: loaded 1 keys from phy-aveta.physics.uu.sedebug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsadebug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.sedebug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.sedebug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96debug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96debug2: kex_parse_kexinit: none,zlib@openssh.com,zlibdebug2: kex_parse_kexinit: none,zlib@openssh.com,zlibdebug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1debug2: kex_parse_kexinit: ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519debug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: kex_parse_kexinit: none,zlib@openssh.comdebug2: kex_parse_kexinit: none,zlib@openssh.comdebug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> nonedebug1: kex: client->server chacha20-poly1305@openssh.com <implicit> nonedebug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64debug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: Server host key: ecdsa-sha2-nistp256 SHA256:F34tt6QLRDt6Qm45eHOFhYGS5DSxYrThhR2lbBHNXesdebug3: hostkeys_foreach: reading file /home/rudra/.ssh/known_hostsdebug3: record_hostkey: found key type ECDSA in file /home/rudra/.ssh/known_hosts:16debug3: load_hostkeys: loaded 1 keys from phy-aveta.physics.uu.sedebug3: hostkeys_foreach: reading file /home/rudra/.ssh/known_hostsdebug3: record_hostkey: found key type ECDSA in file /home/rudra/.ssh/known_hosts:14debug3: load_hostkeys: loaded 1 keys from 130.238.194.143debug1: Host 'phy-aveta.physics.uu.se' is known and matches the ECDSA host key.debug1: Found key in /home/rudra/.ssh/known_hosts:16debug2: set_newkeys: mode 1debug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug2: set_newkeys: mode 0debug1: SSH2_MSG_NEWKEYS receiveddebug1: Roaming not allowed by serverdebug1: SSH2_MSG_SERVICE_REQUEST sentdebug2: service_accept: ssh-userauthdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug2: key: /home/rudra/.ssh/id_rsa (0x562e17c87070),debug2: key: /home/rudra/.ssh/id_dsa ((nil)),debug2: key: /home/rudra/.ssh/id_ecdsa ((nil)),debug2: key: /home/rudra/.ssh/id_ed25519 ((nil)),debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,passworddebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,passworddebug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,passworddebug3: authmethod_lookup gssapi-keyexdebug3: remaining preferred: gssapi-with-mic,publickey,keyboard-interactive,passworddebug3: authmethod_is_enabled gssapi-keyexdebug1: Next authentication method: gssapi-keyexdebug1: No valid Key exchange contextdebug2: we did not send a packet, disable methoddebug3: authmethod_lookup gssapi-with-micdebug3: remaining preferred: publickey,keyboard-interactive,passworddebug3: authmethod_is_enabled gssapi-with-micdebug1: Next authentication method: gssapi-with-micdebug1: Unspecified GSS failure.  Minor code may provide more informationNo Kerberos credentials availabledebug1: Unspecified GSS failure.  Minor code may provide more informationNo Kerberos credentials availabledebug1: Unspecified GSS failure.  Minor code may provide more informationdebug1: Unspecified GSS failure.  Minor code may provide more informationNo Kerberos credentials availabledebug2: we did not send a packet, disable methoddebug3: authmethod_lookup publickeydebug3: remaining preferred: keyboard-interactive,passworddebug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Offering RSA public key: /home/rudra/.ssh/id_rsadebug3: send_pubkey_testdebug2: we sent a publickey packet, wait for replydebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,passworddebug1: Trying private key: /home/rudra/.ssh/id_dsadebug3: no such identity: /home/rudra/.ssh/id_dsa: No such file or directorydebug1: Trying private key: /home/rudra/.ssh/id_ecdsadebug3: no such identity: /home/rudra/.ssh/id_ecdsa: No such file or directorydebug1: Trying private key: /home/rudra/.ssh/id_ed25519debug3: no such identity: /home/rudra/.ssh/id_ed25519: No such file or directorydebug2: we did not send a packet, disable methoddebug3: authmethod_lookup passworddebug3: remaining preferred: ,passworddebug3: authmethod_is_enabled passworddebug1: Next authentication method: passwordrudra@phy-aveta.physics.uu.se's password: I have  deleted .ssh, .config and .cache from the remote and redo ssh-copy-id, without any help.To troubleshoot, I have createed another user, did ssh-copy-id and that one is working fine. ssh -vvv for that working machine is:ssh -vvv rudra2@phy-aveta.physics.uu.se OpenSSH_7.1p1, OpenSSL 1.0.2d-fips 9 Jul 2015debug1: Reading configuration data /home/rudra/.ssh/configdebug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 56: Applying options for *debug2: ssh_connect: needpriv 0debug1: Connecting to phy-aveta.physics.uu.se [130.238.194.143] port 22.debug1: Connection established.debug1: identity file /home/rudra/.ssh/id_rsa type 1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_rsa-cert type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_dsa type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_dsa-cert type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ecdsa type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ecdsa-cert type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ed25519 type -1debug1: key_load_public: No such file or directorydebug1: identity file /home/rudra/.ssh/id_ed25519-cert type -1debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_7.1debug1: Remote protocol version 2.0, remote software version OpenSSH_7.1debug1: match: OpenSSH_7.1 pat OpenSSH* compat 0x04000000debug2: fd 3 setting O_NONBLOCKdebug1: Authenticating to phy-aveta.physics.uu.se:22 as 'rudra2'debug3: hostkeys_foreach: reading file /home/rudra/.ssh/known_hostsdebug3: record_hostkey: found key type ECDSA in file /home/rudra/.ssh/known_hosts:16debug3: load_hostkeys: loaded 1 keys from phy-aveta.physics.uu.sedebug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsadebug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.sedebug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.sedebug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96debug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96debug2: kex_parse_kexinit: none,zlib@openssh.com,zlibdebug2: kex_parse_kexinit: none,zlib@openssh.com,zlibdebug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1debug2: kex_parse_kexinit: ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519debug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: kex_parse_kexinit: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: kex_parse_kexinit: none,zlib@openssh.comdebug2: kex_parse_kexinit: none,zlib@openssh.comdebug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> nonedebug1: kex: client->server chacha20-poly1305@openssh.com <implicit> nonedebug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64debug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: Server host key: ecdsa-sha2-nistp256 SHA256:F34tt6QLRDt6Qm45eHOFhYGS5DSxYrThhR2lbBHNXesdebug3: hostkeys_foreach: reading file /home/rudra/.ssh/known_hostsdebug3: record_hostkey: found key type ECDSA in file /home/rudra/.ssh/known_hosts:16debug3: load_hostkeys: loaded 1 keys from phy-aveta.physics.uu.sedebug3: hostkeys_foreach: reading file /home/rudra/.ssh/known_hostsdebug3: record_hostkey: found key type ECDSA in file /home/rudra/.ssh/known_hosts:14debug3: load_hostkeys: loaded 1 keys from 130.238.194.143debug1: Host 'phy-aveta.physics.uu.se' is known and matches the ECDSA host key.debug1: Found key in /home/rudra/.ssh/known_hosts:16debug2: set_newkeys: mode 1debug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug2: set_newkeys: mode 0debug1: SSH2_MSG_NEWKEYS receiveddebug1: Roaming not allowed by serverdebug1: SSH2_MSG_SERVICE_REQUEST sentdebug2: service_accept: ssh-userauthdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug2: key: /home/rudra/.ssh/id_rsa (0x55c98f7eb080),debug2: key: /home/rudra/.ssh/id_dsa ((nil)),debug2: key: /home/rudra/.ssh/id_ecdsa ((nil)),debug2: key: /home/rudra/.ssh/id_ed25519 ((nil)),debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,passworddebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,passworddebug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,passworddebug3: authmethod_lookup gssapi-keyexdebug3: remaining preferred: gssapi-with-mic,publickey,keyboard-interactive,passworddebug3: authmethod_is_enabled gssapi-keyexdebug1: Next authentication method: gssapi-keyexdebug1: No valid Key exchange contextdebug2: we did not send a packet, disable methoddebug3: authmethod_lookup gssapi-with-micdebug3: remaining preferred: publickey,keyboard-interactive,passworddebug3: authmethod_is_enabled gssapi-with-micdebug1: Next authentication method: gssapi-with-micdebug1: Unspecified GSS failure.  Minor code may provide more informationNo Kerberos credentials availabledebug1: Unspecified GSS failure.  Minor code may provide more informationNo Kerberos credentials availabledebug1: Unspecified GSS failure.  Minor code may provide more informationdebug1: Unspecified GSS failure.  Minor code may provide more informationNo Kerberos credentials availabledebug2: we did not send a packet, disable methoddebug3: authmethod_lookup publickeydebug3: remaining preferred: keyboard-interactive,passworddebug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Offering RSA public key: /home/rudra/.ssh/id_rsadebug3: send_pubkey_testdebug2: we sent a publickey packet, wait for replydebug1: Server accepts key: pkalg ssh-rsa blen 279debug2: input_userauth_pk_ok: fp SHA256:xT3VPQUunB3Nv/Pmi6C6Sroc0fa9SlKcQ4d0eF2vxzIdebug3: sign_and_send_pubkey: RSA SHA256:xT3VPQUunB3Nv/Pmi6C6Sroc0fa9SlKcQ4d0eF2vxzIdebug1: Authentication succeeded (publickey).Authenticated to phy-aveta.physics.uu.se ([130.238.194.143]:22).debug1: channel 0: new [client-session]debug3: ssh_session2_open: channel_new: 0debug2: channel 0: send opendebug1: Requesting no-more-sessions@openssh.comdebug1: Entering interactive session.debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0debug2: callback startdebug2: fd 3 setting TCP_NODELAYdebug3: ssh_packet_set_tos: set IP_TOS 0x10debug2: client_session2_setup: id 0debug2: channel 0: request pty-req confirm 1debug1: Sending environment.debug3: Ignored env XDG_VTNRdebug3: Ignored env XDG_SESSION_IDdebug3: Ignored env HOSTNAMEdebug3: Ignored env SHELLdebug3: Ignored env TERMdebug3: Ignored env XDG_MENU_PREFIXdebug3: Ignored env VTE_VERSIONdebug3: Ignored env HISTSIZEdebug3: Ignored env XCRYSDEN_SCRATCHdebug3: Ignored env WINDOWIDdebug3: Ignored env QTDIRdebug3: Ignored env QTINCdebug3: Ignored env QT_GRAPHICSSYSTEM_CHECKEDdebug3: Ignored env XCRYSDEN_TOPDIRdebug3: Ignored env USERdebug3: Ignored env LS_COLORSdebug3: Ignored env DESKTOP_AUTOSTART_IDdebug3: Ignored env SSH_AUTH_SOCKdebug3: Ignored env SESSION_MANAGERdebug3: Ignored env PATHdebug3: Ignored env MAILdebug3: Ignored env DESKTOP_SESSIONdebug3: Ignored env QT_IM_MODULEdebug3: Ignored env XDG_SESSION_TYPEdebug3: Ignored env PWDdebug1: Sending env XMODIFIERS = @im=ibusdebug2: channel 0: request env confirm 0debug1: Sending env LANG = en_GB.UTF-8debug2: channel 0: request env confirm 0debug3: Ignored env MODULEPATHdebug3: Ignored env GDM_LANGdebug3: Ignored env LOADEDMODULESdebug3: Ignored env GDMSESSIONdebug3: Ignored env SSH_ASKPASSdebug3: Ignored env HISTCONTROLdebug3: Ignored env HOMEdebug3: Ignored env XDG_SEATdebug3: Ignored env SHLVLdebug3: Ignored env GNOME_DESKTOP_SESSION_IDdebug3: Ignored env XBANDPATHdebug3: Ignored env XDG_SESSION_DESKTOPdebug3: Ignored env LOGNAMEdebug3: Ignored env QTLIBdebug3: Ignored env DBUS_SESSION_BUS_ADDRESSdebug3: Ignored env MODULESHOMEdebug3: Ignored env LESSOPENdebug3: Ignored env WINDOWPATHdebug3: Ignored env XDG_RUNTIME_DIRdebug3: Ignored env DISPLAYdebug3: Ignored env XDG_CURRENT_DESKTOPdebug3: Ignored env XAUTHORITYdebug3: Ignored env BASH_FUNC_module()debug3: Ignored env BASH_FUNC_scl()debug3: Ignored env _debug2: channel 0: request shell confirm 1debug2: callback donedebug2: channel 0: open confirm rwindow 0 rmax 32768debug2: channel_input_status_confirm: type 99 id 0debug2: PTY allocation request accepted on channel 0debug2: channel 0: rcvd adjust 2097152debug2: channel_input_status_confirm: type 99 id 0debug2: shell request accepted on channel 0Last login: Mon Oct 12 12:33:15 2015 from 130.238.194.90[rudra2@phy-aveta ~]$ debug2: client_check_window_change: changeddebug2: channel 0: request window-change confirm 0I am clueless why in same local-remote combination, one is working and other is not. Kindly help.EDIT .ssh/config for the failed one is:Host aveta  User rudra  Hostname phy-aveta.physics.uu.se  ForwardX11 yesThere is no ssh/.config entry for rudra2, i.e. that worked.Ans to Paulin my local machine I have:tree .ssh/.ssh/ authorized_keys config environment id_rsa id_rsa.pub known_hostsIn both the remote user, I only have authorized_keys. And both are identical.[root@phy-aveta rudra2]# diff .ssh/authorized_keys /home/rudra/.ssh/authorized_keys [root@phy-aveta rudra2]# Edit 2: Without using ssh/.configI have commented out the part for first user in .ssh/config.  http://ur1.ca/nzndx is the ssh -vvv for that. It is still asking for passwordEdit: PermissionThe first user...failed one#ls -al /home/rudra/|grep .sshdrwx------.  2 rudra rudra  4096 Oct 12 14:16 .ssh$ls -alF .ssh/total 12Kdrwx------.  2 rudra rudra 4.0K Oct 12 14:16 ./drwxrwxr-x. 36 rudra rudra 4.0K Oct 12 14:30 ../-rw-------.  1 rudra rudra  394 Oct 10 12:01 authorized_keysFor 2nd user# ls -al /home/rudra2/|grep .sshdrwx------. 2 rudra2 rudra2 4096 Oct 12 14:16 .ssh$ ls -alF .ssh/total 12drwx------. 2 rudra2 rudra2 4096 Oct 12 14:16 ./drwx------. 4 rudra2 rudra2 4096 Oct 12 14:14 ../-rw-------. 1 rudra2 rudra2  394 Oct 11 09:57 authorized_keys
Can't login to a remote machine with key
ssh;sshd;openssh
There it is.  Group has write access to ~rudra:$ls -alF .ssh/ total 12Kdrwx------.  2 rudra rudra 4.0K Oct 12 14:16 ./drwxrwxr-x. 36 rudra rudra 4.0K Oct 12 14:30 ../-rw-------.  1 rudra rudra  394 Oct 10 12:01 authorized_keysThus, sshd refuses to trust the files in ~rudra, and does not use ~rudra/.ssh/authorized_keys, even though its permissions are correct.chmod g-w ~rudra ought to fix it.