Re: ssh no password problem
- From: Mario Vukelic <mario.vukelic@xxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 11:32:57 +0200
On Sun, 2008-08-31 at 10:52 +0200, Adel ESSAFI wrote:
Hi list<snip>
I want to make ssh login with no paasword on my machine (to install a
tool taht need that kind of authentification).
I have generated the public key and added it at the end the
file .ssh/authorizek_keys as show bellow. however, when I do ssh
localhost, the password of the public key is promped. Can you help
please.
Regards
Adel
oar@lion:~/.ssh$ chmod 640 authorized_keys2
Hmmm, the Server Guide recommends 644 permissions:
https://help.ubuntu.com/8.04/serverguide/C/openssh-server.html
Though I don't know why this would make a difference in this case, I
assume the program for which you need the key auth is run with the
credentials of oar@lion anyway.
Did you set "PubkeyAuthentication yes" in /etc/ssh/sshd_config?
Did you restart sshd after making changes in /etc/ssh/sshd_config? To
restart, issue "sudo /etc/init.d/ssh restart" on the command line.
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: ssh no password problem
- From: Adel ESSAFI
- Re: ssh no password problem
- References:
- ssh no password problem
- From: Adel ESSAFI
- ssh no password problem
- Prev by Date: ssh no password problem
- Next by Date: Re: ssh no password problem
- Previous by thread: ssh no password problem
- Next by thread: Re: ssh no password problem
- Index(es):
Relevant Pages
|