User Management SSH2 Public Key to OpenSSL format for SSH Server To convert a given Public Key to a useful format for SSH servers use the following command. It will print out the expected format to use. ssh-keygen -i -f /path/to/file