Chuck escribió:
> I did figure it out. For some reason, a simple 'chmod go-w ~ ~/.ssh'
> and 'chmod 600 ~/.ssh/authorized_keys' did the trick. The funny thing
> about it is that those commands actually *revoked* privileges. Are
> there security rules in ssh or sshd that require that the access to
> certain files remain restricted?
>
>   
Yes, theses files (authorized_key, your key file, etc...)  must be 
protected.

For example:
[EMAIL PROTECTED]:~/.ssh$ chmod 777 id_rsa
[EMAIL PROTECTED]:~/.ssh$ ssh [EMAIL PROTECTED]
bla blabla [MOTD]...


@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/home/leptom/.ssh/id_rsa' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/leptom/.ssh/id_rsa
[EMAIL PROTECTED]'s password:

Finally it ask the password. That's all, regards!

-- 
Rafael Garcia Ortega


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn;quoted-printable:Rafael Garc=C3=ADa Ortega
n;quoted-printable:Garc=C3=ADa Ortega;Rafael
org:ASPgems S.L.
email;internet:[EMAIL PROTECTED]
tel;work:692686533
x-mozilla-html:FALSE
url:http://www.aspgems.com
version:2.1
end:vcard

Reply via email to