X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-7.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_PGP_SIGNED,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Date: Tue, 20 Nov 2012 22:21:49 +0100 From: David Sastre Medina To: cygwin AT cygwin DOT com Subject: Re: Passwordless authentication between two domains. Message-ID: <20121120212147.GA3452@pris.crapsteak.org> References: <1353433612060-94427 DOT post AT n5 DOT nabble DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D -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. --=20 Primary key fingerprint: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iF4EAREIAAYFAlCr9GgACgkQ95urBFKZ7FZTKQD/biEgNDPH10hje+a7HzWc5plt lOW0nG5aGYeWoIz7Nb0A/0G9aUUG8XowPYZmIxAfJ0l6FfIMpL6DhFdnOsG6IrMc =S6nn -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--