How to use public ssh key [not relevant]
As usual i put my public key to ~/.ssh/authorized_keys but my jolla still asks for a password. What's the difference between jolla and linux in using SSH?
As usual i put my public key to ~/.ssh/authorized_keys but my jolla still asks for a password. What's the difference between jolla and linux in using SSH?
Asked: 2014-11-08 02:34:13 +0300
Seen: 557 times
Last updated: Nov 08 '14
Is your Jolla private key in /home/nemo/.ssh/id_rsa ? And is your Jolla public key in the server /home/username_of_server/.ssh/authorized_keys ?
Robin ( 2014-11-08 05:29:11 +0300 )@Robin He said his Jolla asks for a password, so it's the opposite scenario.
@mdosch Jolla is a Linux, no difference, have you double checked the rights?
Sthocs ( 2014-11-08 14:09:06 +0300 )Thank you for your replies. I recreated the authorized_keys and pasted my key again and it works. Maybe there went something wrong at first creation, now it works as expected. :)
mdosch ( 2014-11-08 14:19:51 +0300 )@mdosch Then maybe close this question?
Tanghus ( 2014-11-08 18:26:28 +0300 )@mdosch: To avoid copy-and-paste problems or problems with wrong access rights on
~/.ssh/authorized_keys
, you could usessh-copy-id
, which handles all this very well.See @Kontio's post at https://together.jolla.com/question/2650/disable-ssh-daemon-when-remote-connections-are-disabled/#comment-2682.
ralooyar ( 2014-11-30 18:10:57 +0300 )