Export SFTP server key

Core FTP Server questions and answers
Post Reply
Speed103
Posts: 4
Joined: Mon Mar 28, 2016 1:55 pm

Export SFTP server key

Post by Speed103 »

Right now the SFTP server key is encrypted. Is there a way to export the private + public key decrypted? I'd like to use the same key on an SSH server to keep them the same. I did the exports but it appears to only export the public key.

Thanks
ForumAdmin
Site Admin
Posts: 979
Joined: Mon Mar 24, 2003 4:37 am

Re: Export SFTP server key

Post by ForumAdmin »

Copy over the configuration as described here:

www.coreftp.com/server/help/moving_server.htm

The "certs" subdirectory contains the private key (no extension). You can use openssl with the password you used when creating the "self signed cert" to decrypt it.
Speed103
Posts: 4
Joined: Mon Mar 28, 2016 1:55 pm

Re: Export SFTP server key

Post by Speed103 »

Thanks for the reply. I never created a self-signed cert as I never used SSL, only SFTP. Is there a default password it uses to create the SFTP key?
Post Reply