ssh no password problem



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


ar@lion:~/.ssh$ ssh-keygen -t dsa -b 1024 -f id_dsa
Generating public/private dsa key pair.
id_dsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_dsa.
Your public key has been saved in id_dsa.pub.
The key fingerprint is:
66:9f:f3:db:a3:91:95:5b:13:55:da:1e:ea:75:b9:a1 oar@lion
oar@lion:~/.ssh$ cat id_dsa.pub
ssh-dss
AAAAB3NzaC1kc3MAAACBAOdrv77sk1hX+mcHw6diH/ldIjO23j2Mjm3xj8IaFuj/8sPWbgkIx1eGCQKAIyPBMhs4iW53mR/4jQOqQAz2LPnrCWFcQRv9imp81FCjR9q6nL3Ik9JIqrGjN2Ai3t8hDccsbMM6dj/HmnFKR0X/TSf7CMEk9kZSaDASN/nJbfufAAAAFQCXX4EudLvfHdN4FdWIZbkOlbr3YQAAAIANqHmY65UmKClixLYi7TZr7N6pW3b23SEoy9BThLaHvbgoHUpRJ1xfhyxNc2Evymz+h/XFpAdESNM6nenLctYBr+V7UAnobaL+MgGCvxE4RPVGba4m4yYBg0fd+xJrEf37k8yONQGGIGP740ud1Qcg7PZlq4kgj/XHENTnvenJOwAAAIBP/VkWx0H7Zf+PmvtcWZSaLbjP3HqfCnZNkEoajd188fSb0iodidUktEBWHotO4nAm0zlRSNt4ryolvukKo2vLUKLdhxwPIH9SZ4jK0JKib9YDPcLTHTi3YqvLolvfIJ6XQee5+RHWkJ71pZWxlE1woGxJdVzVjbCkZiBLPZng7A==
oar@lion
oar@lion:~/.ssh$ cat id_dsa.pub >> authorized_keys
id_dsa.pub
oar@lion:~/.ssh$ cat id_dsa.pub >> authorized_keys
id_dsa.pub
oar@lion:~/.ssh$ cat id_dsa.pub >> authorized_keys
oar@lion:~/.ssh$ chmod 640 authorized_keys
oar@lion:~/.ssh$ cat id_dsa.pub >> authorized_keys2
oar@lion:~/.ssh$ chmod 640 authorized_keys
authorized_keys authorized_keys2
oar@lion:~/.ssh$ chmod 640 authorized_keys2
oar@lion:~/.ssh$ cd
oar@lion:~$ ssh localhost
Enter passphrase for key '/home/oar/.ssh/id_dsa':
Enter passphrase for key '/home/oar/.ssh/id_dsa':
Linux lion 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686


--
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

  • 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)
  • Re: Rsync autologin over ssh question
    ... How do I make a script run w/o the passphrase? ... > Rhosts if I can avoid it, and I also want to avoid running rsync daemon. ... This is covered in the SSH FAQ -- ... Public key with SSH agent. ...
    (freebsd-questions)
  • ssh without entering password/passphrase
    ... I created private and public key pairs in my local host ... and then copied the public key file to the remote host. ... this point when I try to ssh, it asks for my passphrase and I can log ...
    (comp.os.linux.misc)
  • Question about public key authentication
    ... I'm then able to authenticate when I ssh from a to b. ... I then take that same public key, and copy it to machine c, also as ... my passphrase is not accepted when I ... try to ssh from a to c, and I have to do password authentication? ...
    (comp.security.ssh)