ssh no password problem
- From: "Adel ESSAFI" <adel.safi@xxxxxxx>
- Date: Sun, 31 Aug 2008 10:52:24 +0200
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
- Follow-Ups:
- Re: ssh no password problem
- From: Mario Vukelic
- Re: ssh no password problem
- Prev by Date: Re: linux install help
- Next by Date: Re: ssh no password problem
- Previous by thread: Need help with errors when updating
- Next by thread: Re: ssh no password problem
- Index(es):
Relevant Pages
|