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?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
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?
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-11-08 02:34:13 +0200
Seen: 554 times
Last updated: Nov 08 '14
SSH fingerprint changes unexpectedly [not relevant]
Markdown basics [not relevant]
Jolla applications should be preinstalled with a new device [not relevant]
Opera Mobile for Sailfish [not relevant]
What screen protectors are/will be available for Jolla device? [not relevant]
simple flash light app [not relevant]
Representation of sms [not relevant]
Central Processing Agent (CPA) [not relevant]
Native netflix app [not relevant]
wrong colored or selected items in app selection view [not relevant]
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 +0200 )edit@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 +0200 )editThank 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 +0200 )edit@mdosch Then maybe close this question?
Tanghus ( 2014-11-08 18:26:28 +0200 )edit@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 +0200 )edit