This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Passwordless authentication between two domains.


On Tue, Nov 20, 2012 at 10:16:12AM -0800, Andrew DeFaria wrote:
> On 11/20/2012 9:46 AM, anulav2 wrote:
> Permissons on .ssh are 700
> >and .ssh/authorized_keys are 600.
> >I have tried uninstall and re-install twice.
> >and following is part of what i get when i increase verbosity.
> Is your home directory, oddly named /home/pal.rsync, set to 755? How
> about ~/.ssh? Also 755. No. 700. That may be the problem. My
> ~/.ssh/authorized_keys is set to 644. My ~/.ssh/id_rsa is 600 but
> ~/.ssh/id_rsa.pub is 644.

I think it is advisable to chmod go= -R the whole ~/.ssh directory and
also enable the StrictModes directive in sshd_config, amongst several
other good practices WRT to sshd. Permissions of your $HOME directory
are also relevant.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]