Monthly Archives: June 2011

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.

Advertisements