Yubico Forum
https://forum.yubico.com/

SFTP with PIV
https://forum.yubico.com/viewtopic.php?f=26&t=2238
Page 1 of 1

Author:  noah977 [ Thu Feb 25, 2016 3:49 am ]
Post subject:  SFTP with PIV

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?

Author:  hiviah [ Mon May 02, 2016 2:11 pm ]
Post subject:  Re: SFTP with PIV

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

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/