Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 5:58 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SFTP with PIV
PostPosted: Thu Feb 25, 2016 3:49 am 
Offline

Joined: Wed Feb 10, 2016 3:33 pm
Posts: 6
I've successfully setup PIV certificates and keys. Using OSX, I can ssh to my servers easily. Works great!

ssh -I /usr/local/lib/opensc-pkcs11.so user@host.com

The next challenge is to SFTP - How can I get SFTP to use the keys on the Yubikey PIV?

Has anybody solved this?


Top
 Profile  
Reply with quote  

Share On:

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

 Post subject: Re: SFTP with PIV
PostPosted: Mon May 02, 2016 2:11 pm 
Offline

Joined: Tue May 28, 2013 1:14 pm
Posts: 26
I'd either set a configuration in ~/.ssh/config for the host, then both SSH, SFTP and SCP can use it.

Otherwise you have to give the option to sftp, like this:

Code:
sftp -o PKCS11Provider=/usr/local/lib/opensc-pkcs11.so user@host


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 10 guests


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