Permissions on .ssh/id_rsa

Andrew DeFaria Andrew@DeFaria.com
Thu Aug 18 15:01:00 GMT 2005


Christopher Benson-Manica wrote:

>>> How does one set permissions on id_rsa in such a way as to make ssh 
>>> happy? Nothing I have done has made chmod 700 id_rsa actually work.
>>
>> chmod 600 has always worked fine for me.
>
> [09:39:44][cbenson@Prog09:~/.ssh]> ls -l id_rsa
> -rw-r--r-- 1 cbenson mkpasswd 887 Aug 17 15:54 id_rsa
> [09:40:11][cbenson@Prog09:~/.ssh]> chmod 600 id_rsa
> [09:40:20][cbenson@Prog09:~/.ssh]> ls -l id_rsa
> -rw-r--r-- 1 cbenson mkpasswd 887 Aug 17 15:54 id_rsa
>
> Pretty annoying stuff...
>
>> We will probably need more information: Output of "cygcheck -svr" and
>
> See cygcheck.log, attached.
>
>> "ls -ld / /home ~ ~/.ssh ~/.ssh/id_rsa" would be a good start.
>
> [09:41:44][cbenson@Prog09:~/.ssh]> ls -ld / /home ~ ~/.ssh
> ~/.ssh/id_rsa
> ls: /home: No such file or directory
> drwxrwxrwx+ 15 cbenson mkpasswd 0 Aug 17 16:05 /
> drwxr-xr-x 1 cbenson mkpasswd 65536 Aug 17 17:12 /cygdrive/h
> drwxr-xr-x 1 cbenson mkpasswd 4096 Aug 17 16:04 /cygdrive/h/.ssh
> -rw-r--r-- 1 cbenson mkpasswd 887 Aug 17 15:54 /cygdrive/h/.ssh/id_rsa

It appears as if your home directory is on the H drive and this is 
mounted from another system. Thus CYGWIN=ntsec does not apply because 
this is a share mounted using SMB. Thus, as I said before, you need to 
set CYGWIN=smbntsec and try again.
-- 
You can't trust dogs to watch your food.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list