Error:
Trying to establish an SFTP connection with key exchange and get this error
com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: The key format is not a supported format
Cause:
The Key used in the Key Manager activity is not OpenSSH compatible
Solution:
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.
-https://community.progress.com/s/article/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://www.ssh.com/academy/ssh/keygen
Comments
0 comments
Article is closed for comments.