ssh no password problem

Adel ESSAFI adel.safi at imag.fr
Sun Aug 31 08:52:24 UTC 2008


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 at 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 at lion
oar at 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 at lion
oar at lion:~/.ssh$ cat id_dsa.pub >> authorized_keys
id_dsa.pub
oar at lion:~/.ssh$ cat id_dsa.pub >> authorized_keys
id_dsa.pub
oar at lion:~/.ssh$ cat id_dsa.pub >> authorized_keys
oar at lion:~/.ssh$ chmod 640 authorized_keys
oar at lion:~/.ssh$ cat id_dsa.pub >> authorized_keys2
oar at lion:~/.ssh$ chmod 640 authorized_keys
authorized_keys   authorized_keys2
oar at lion:~/.ssh$ chmod 640 authorized_keys2
oar at lion:~/.ssh$ cd
oar at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080831/f92ba3e5/attachment.html>


More information about the ubuntu-users mailing list