Using OpenSSH public key in ProFTPD mod_sftp

To use an OpenSSH public key in a ProFTPD, it must be converted to RFC4716 format.

$ ssh-keygen -e -f /path/to/openssh/public/key > new-public-key

Copy the content of the “new-public-key” to the SFTPAuthorizedHostKeys, which is $HOME/.ssh/authorized_key for my system.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: