Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jan 19, 2016 5:42 am 
Offline

Joined: Tue Jan 19, 2016 5:37 am
Posts: 1
Hi, first time poster here, long time Yubikey user.

I've had my hosted server setup for quite some time with pam_yubico set as required. Tonight, I gave a friend an account on the server so she could host her site. I changed the module so it is now sufficient, which allows her to login without a Yubikey. But I want my account to still require one.

Is there some way to configure ssh to prompt for my OTP (and validate it against YubiCloud) while keeping the pam module set to sufficient?


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Fri Feb 26, 2016 3:18 am 
Offline

Joined: Thu Feb 25, 2016 9:19 pm
Posts: 5
You may want to look at AuthenticationMethods in sshd_config. You might be able to set something like:

Code:
password,pam password


Which should theoretically allow either login with either password chained with PAM or password only. I've not done any setup like this so it's little more than a guess at something that might help.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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