SFTP SSH Key Auth

patrickhait
Journeyman

SFTP SSH Key Auth

I have set up a SFTP Remote Connection and can successfully place a CSV file on a server through SFTP with Password Authentication.  Our vendor wants to use Public/Private key authentication and has provided us with an ssh_rsa .pub  key.  How can I import that key to our PowerSchool SIS platform?  I have investigated Digital Certificate Management and the Key/User/System Trust Stores, but that seems to be SSL certificates, not SSH keys.  I've tried uploading the SSH key, but it seems that it will only accept a SSL certificate.  One cannot log into SSH via an SSL certificate!  Is there anything can can be done?

4 Replies
patrickhait
Journeyman

Thank you to the tech support team.  Key Store > Public/Private Key Pair.  The trick was that both the public AND the private key had to be .pem files. 

BobD2
Practitioner

Thanks for posting your findings here, it helped me finally find the solution to an SFTP connection using a private key. I could not find any documentation that even mentioned the key certificate alias and how that worked.

odelibalta
Rookie

Could you please share what you did? This does not make sense to me. Why does it need both the private and the public keys?

BobD2
Practitioner

I won't be able to provide much for details, but from what I remember we wanted to setup an SFTP remote connection in PS using the private/public key authentication type. In order to do that we had to first import a private and public key pair on the digital certificate management page and they both (at least at that time two years ago) had to be in a PEM format.