Unable to import ssh private key
I'm trying to use an ssh tunnel to connect to a VNC host using Jump Desktop in an iPad. The ssh target machine only supports private-key authentication -- passwords are not allowed.
I tried copying to the clipboard the contents of my computer's ~/.ssh/id_rsa, which has this format:
-----BEGIN OPENSSH PRIVATE KEY-----
<very long base64 string here,
with linebreaks every 64 characters>
-----END OPENSSH PRIVATE KEY-----
I then imported via the clipboard in Jump Desktop. This resulted in the following error message:
Unable to import
Make sure you've copied a valid private key to the clipboard. Jump Desktop accepts RSA and DSA private keys.
Following the directions here, I generated a key using the following command:
ssh-keygen -t rsa -m PEM -C "youremail@email.com" -f rsakey
The generated file has the following format:
-----BEGIN RSA PRIVATE KEY-----
<very long base64 string here,
with linebreaks every 64 characters>
-----END RSA PRIVATE KEY-----
Trying to import from the clipboard again in Jump Desktop in the iPad, I received exactly the same error message as above.
Any idea what I may be doing wrong?
-
Hi Décio, Thank you for reaching out to us.
For this issue, kindly take a look at this article:
https://support.jumpdesktop.com/hc/en-us/articles/216426203-iOS-How-do-I-use-SSH-public-key-authentication-
Let me know if you have further questions or clarifications.
Thanks.
Please sign in to leave a comment.
Comments
2 comments