One of my responsibilities is the monitoring of our company's SFTP sever, and making sure our clients upload the files we need from them daily. Until now they had username/password access, but we want to migrate to public key access for security.
The client uploads encrypted files (GnuPG) that I decrypt in an automated way.
Now they sent me their public key, which is a **PGP PUBLIC KEY BLOCK**", Version: GnuPG v1.4.7
. If it were an SSH public key (id_rsa.pub
) I would know how to add it to authorized_keys
to ensure access (as a matter of fact, this is how I connect to the SFTP server myself). However I do not know how to deal with the client's OpenPGP key. I did some research, but I haven't figured out how to use the client's key to give them access to our SFTP server.