Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 11:44 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Oct 06, 2014 2:56 pm 
Offline

Joined: Fri Oct 03, 2014 9:25 pm
Posts: 3
I set up 2 factor authentication for remote SSH logins on my SUSE machine, using the yubico-pam module. It was working fine until I rebooted the machine. Now when I attempt a remote login I get the error:

Disconnected: No supported authentication methods available (server sent: publickey)

I think something must not be starting up properly. What am I doing wrong?


Last edited by ShawnW on Tue Oct 07, 2014 7:00 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Mon Oct 06, 2014 6:08 pm 
Offline

Joined: Fri Oct 03, 2014 9:25 pm
Posts: 3
Verbose output of an ssh attempt:

OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to ubergenno.stat.cmu.edu [128.2.24.121] port 22.
debug1: Connection established.
debug1: identity file /home/shawn/.ssh/identity type -1
debug1: identity file /home/shawn/.ssh/id_rsa type -1
debug1: identity file /home/shawn/.ssh/id_dsa type -1
debug1: loaded 3 keys
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.2
debug1: match: OpenSSH_6.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc 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 'ubergenno.stat.cmu.edu' is known and matches the RSA host key.
debug1: Found key in /home/shawn/.ssh/known_hosts:23
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 that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/shawn/.ssh/identity
debug1: Trying private key: /home/shawn/.ssh/id_rsa
debug1: Trying private key: /home/shawn/.ssh/id_dsa
debug1: No more authentication methods to try.
Permission denied (publickey).


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 07, 2014 7:01 pm 
Offline

Joined: Fri Oct 03, 2014 9:25 pm
Posts: 3
I had to change ChallengeResponseAuthentication to yes in /etc/ssh/sshd_config


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group