![]() |
SSH without password for multiple users
I have been following the instructions both in Pc-connectivity page (http://maemo.org/development/documen..._connectivity/) and a related post by greygoo (http://talk.maemo.org/showthread.php...t=ssh+password).
After creating the private / public key pair on my host machine I have copied the public key on my tablet (N900) and appended the content to two locations: 1. /root/.ssh/authorized_keys (username: root) 2. /home/user/.ssh/authorized_keys (username: user) I am able to ssh in to my tablet from the host machine without a password as root, but not as user. When I ssh in as user I'm still being prompted for the password. Could this be a permission issue with /home/user/authorized_keys? |
Re: SSH without password for multiple users
Quote:
/home/user/.ssh/authorized_keys |
Re: SSH without password for multiple users
Thanks for the notice, that was just a typo (corrected in the original post). Path is correct on my tablet.
|
Re: SSH without password for multiple users
the "user" account has been locked,you cannot do ssh login using this name
|
Re: SSH without password for multiple users
Problem solved, by creating a new user and repeating the steps I can now ssh the new user in without a password. Thanks!
|
Re: SSH without password for multiple users
you should probably use "ssh-copy-id" to transfer and add the key(s). That is theoretically more secure and certainly less error prone.
|
Re: SSH without password for multiple users
Quote:
|
All times are GMT. The time now is 14:55. |
vBulletin® Version 3.8.8