Re: ssh no password problem



Hi,
I have done the modification you suggested , but still the some message :(

oar@lion:~$ ssh localhost
Enter passphrase for key '/home/oar/.ssh/id_dsa':
Enter passphrase for key '/home/oar/.ssh/id_dsa':

What are other reasons that can causes that!
reagards
Adel


2008/8/31 Mario Vukelic <mario.vukelic@xxxxxxxxxxx>

On Sun, 2008-08-31 at 10:52 +0200, Adel ESSAFI wrote:
Hi list
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
<snip>
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




--
PhD candidate in Computer Science
Address
BP 108, Bureau de poste Tunis republique
1001 Tunis
Tunisia
tel: +216 97 246 706
fax: +216 71 391 166
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Explanation of SSH
    ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
    (comp.security.ssh)
  • SSH with Public Key Authentication (Was: Re: Attention: Giorgos Keramidas (Was: CVS Import Permissio
    ... I know that the setting of CVSUMASK on the server machine> works if you use SSH tunneling though. ... I have tried using SSH in the past, and got stuck setting up the public key login. ... In order to use cvs with ssh, we must use public key authentication. ...
    (freebsd-questions)
  • Re: ssh
    ... ssh can use DSA or RSA keys for authentication. ... public key can decrypt. ... is significantly smaller than that for ssh RSA/DSA keypairs. ... host to capture the key (either an unprotected key or a capture of your ...
    (Vuln-Dev)
  • RE: TIPS FOR THE NEWCOMER
    ... using your old private key, so there's no point in keeping a backup. ... > security risk if I send this through e-mail as an attachment to the ssh ... > has been compromised it does not really matter since it is a public key ... > more words for the passphrase it gets harder to crack? ...
    (SSH)
  • TIPS FOR THE NEWCOMER
    ... Correct me if I am wrong, it appears that ssh and gnupg has similar ... Do I have to send my public key to ... the other machine (ssh client) and likewise do the same thing get a copy ... Is the passphrase function here same as in gnupg that if you have ...
    (SSH)