SFTP - The key format is not a supported format


Trying to establish a SFTP connection with a key exchange and get this error

com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: The key format is not a supported format



The Key used in the Key Manager activity is not OpenSSH compatible



A) Convert the key to OpenSSH

Use OpenSSH tools to convert the  key to OpenSSH format. You should then be able to use the converted key with j2ssh.

- http://ipswitchft.force.com/kb/articles/FAQ/How-to-convert-an-SSH-key-to-other-formats


B) Generate a new key pair using j2ssh or OpenSSH tools

You can also generate a new key pair using OpenSSH tools (ssh-keygen) and then upload the public key to the server

- https://qualysguard.qualys.com/qwebhelp/fo_help/authentication/generating_ssh_key_pair.htm

Have more questions? Submit a request


Article is closed for comments.