-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Je Mardo Marto 29 2005 14:45, Digby Tarvin skribis:
> It won't work if your '.ssh' directory is group writeable. (because then
> anyone in group 'users' could replace files and obtain your uid...)
Changed that, and still, doesn't work:

[EMAIL PROTECTED] .ssh $ ls -la
total 8
drwx------   2 sandra users 4096 mar 30 14:16 .
drwxrwx---  62 sandra users 4096 mar 30 13:15 ..
[EMAIL PROTECTED] .ssh $ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/sandra/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/sandra/.ssh/id_dsa.
Your public key has been saved in /home/sandra/.ssh/id_dsa.pub.
The key fingerprint is:
1a:4a:9a:e8:ae:57:e7:6e:52:60:4c:0d:71:32:f2:ec [EMAIL PROTECTED]
[EMAIL PROTECTED] .ssh $ ls -la
total 16
drwx------   2 sandra users 4096 mar 30 14:17 .
drwxrwx---  62 sandra users 4096 mar 30 13:15 ..
- -rw-------   1 sandra users  668 mar 30 14:17 id_dsa
- -rw-r--r--   1 sandra users  600 mar 30 14:17 id_dsa.pub
[EMAIL PROTECTED] .ssh $ cat id_dsa.pub >> authorized_keys
[EMAIL PROTECTED] .ssh $ ls -la
total 20
drwx------   2 sandra users 4096 mar 30 14:17 .
drwxrwx---  62 sandra users 4096 mar 30 13:15 ..
- -rw-r--r--   1 sandra users  600 mar 30 14:17 authorized_keys
- -rw-------   1 sandra users  668 mar 30 14:17 id_dsa
- -rw-r--r--   1 sandra users  600 mar 30 14:17 id_dsa.pub
[EMAIL PROTECTED] .ssh $ ssh [EMAIL PROTECTED]
The authenticity of host 'liv (10.0.0.2)' can't be established.
RSA key fingerprint is cb:1d:5d:51:36:67:b0:09:26:a9:72:2b:98:88:56:e4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'liv,10.0.0.2' (RSA) to the list of known hosts.
Password:

It is asking for a password.
Thank you.
- -- 
Pupeno: [EMAIL PROTECTED] - http://pupeno.com
Reading Science Fiction ? http://sfreaders.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCStuRfW48a9PWGkURAiE7AKCOyaPQ4c2qfGjmqczjTC8miNar5ACghLGd
ky7uFcmVQqMDJMnSnGgmXSE=
=Pjgx
-----END PGP SIGNATURE-----
--
[email protected] mailing list

Reply via email to