public key authentication fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi guys!


i'm seeing issues with connecting to my ssh server using public key authentication

normal password auth works fine...

this is what the client says

debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
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: Trying private key: /Users/ruebezahl/.ssh/identity
debug3: no such identity: /Users/ruebezahl/.ssh/identity
debug1: Trying private key: /Users/ruebezahl/.ssh/id_rsa
debug3: no such identity: /Users/ruebezahl/.ssh/id_rsa
debug1: Offering public key: /Users/ruebezahl/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey).



the server puts out

debug1: userauth-request for user ruebezahl service ssh-connection method none
debug1: attempt 0 failures 0
debug3: mm_getpwnamallow entering
debug3: mm_request_send entering: type 6
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM
debug3: mm_request_receive_expect entering: type 7
debug3: mm_request_receive entering
debug3: monitor_read: checking request 6
debug3: mm_answer_pwnamallow
debug3: Trying to reverse map address 10.0.0.3.
debug2: parse_server_config: config reprocess config len 376
debug1: Checking with Service ACLs for ssh login restrictions
debug1: call to mbr_user_name_to_uuid with <ruebezahl> suceeded to retrieve user_uuid debug1: Called mbr_check_service_membership with isMember <0> with status <2>
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 7
debug2: monitor_read: 6 used once, disabling now
debug3: mm_request_receive entering
debug2: input_userauth_request: setting up authctxt for ruebezahl
debug3: mm_start_pam entering
debug3: mm_request_send entering: type 47
debug3: mm_inform_authserv entering
debug3: mm_request_send entering: type 3
debug2: input_userauth_request: try method none
debug3: mm_auth2_read_banner entering
debug3: mm_request_send entering: type 8
debug3: mm_request_receive_expect entering: type 9
debug3: mm_request_receive entering
debug3: monitor_read: checking request 47
debug1: PAM: initializing for "ruebezahl"
debug1: PAM: setting PAM_RHOST to "jru"
debug2: monitor_read: 47 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 3
debug3: mm_answer_authserv: service=ssh-connection, style=
debug2: monitor_read: 3 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 8
debug3: mm_request_send entering: type 9
debug2: monitor_read: 8 used once, disabling now
debug3: mm_request_receive entering
debug1: userauth_send_banner: sent
debug1: userauth-request for user ruebezahl service ssh-connection method publickey
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method publickey
debug1: test whether pkalg/pkblob are acceptable
debug3: mm_key_allowed entering
debug3: mm_request_send entering: type 20
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
debug3: mm_request_receive_expect entering: type 21
debug3: mm_request_receive entering
debug3: monitor_read: checking request 20
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x109b40
debug1: temporarily_use_uid: 502/20 (e=0/0)
debug1: trying public key file /etc/ssh_authorized_keys
debug1: restore_uid: 0/0
debug1: temporarily_use_uid: 502/20 (e=0/0)
debug1: trying public key file /etc/ssh_authorized_keys
debug1: restore_uid: 0/0
Failed publickey for ruebezahl from 10.0.0.3 port 49288 ssh2
debug3: mm_answer_keyallowed: key 0x109b40 is disallowed
debug3: mm_request_send entering: type 21
debug3: mm_request_receive entering
debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss
Connection closed by 10.0.0.3
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering


permissions on .ssh ( client) and ssh_authorized_keys ( server) should be fine

i really do not know what's going on


help appreciated!


best regards

franz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iQEcBAEBAgAGBQJINeyeAAoJEP8ZopU3BhmtxBsIAKbnkNpGYP+FBifBNYDC5aU3
5WarWnuFSX6ju3dUOvlQZldh8I5k1Bj9PTmtkzykLSvg8dRYylfw+zke1YCfXvks
t5XVhn3ERZdDcJ3xDxAbcqU2uQjrHpIIfQbohy6aX9bod80LZXbQdDZpTPNpxX3M
xDVbj9U+cKMJaGHkLkw024J/m9jdPoHkFXkotGtpwyXlt80uw4dX90VVFBwxHUxM
uxwOXQgt4NXJ+UKNWDa8f6zJXNH5BOtoa/QWaNIhjbiQ1bJ/d2ECnjRPtjbJ0wGU
hO3OLdokfoiih1KYHF4/8gDPEfLkURK6Hvr1r2Ya7eoA+rRLruLVDrkc0gqA9W0=
=Tk0N
-----END PGP SIGNATURE-----

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux