X-Spam-Check-By: sourceware.org Message-ID: <20061115174447.94697.qmail@web56302.mail.re3.yahoo.com> Date: Wed, 15 Nov 2006 09:44:47 -0800 (PST) From: PoWah Wong Subject: Re: ssh search identity in wrong directory To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kAFHjDHU024504 From: Corinna Vinschen To: cygwin at cygwin dot comDate: Tue, 7 Sep 2004 15:00:47 +0200Subject: Re: ssh search identity in wrong directoryReferences: Reply-to: cygwin at cygwin dot com On Sep 7 13:31, cygwin DOT 20 DOT job AT spamgourmet DOT com wrote: > Hi folks > > I have the problem that ssh does not search the identity file ins > $HOME/.ssh it looks in the directory which is found in the envionment > variable HOMESHARE. What is going wrong? How can I fix it? Nope, it looks in the directory found in your /etc/passwd entry. ssh never uses $HOME. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- I have a similar problem. $ ssh -v root AT 172 DOT 20 DOT 11 DOT 200 OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006 debug1: Connecting to 172.20.11.200 [172.20.11.200] port 22. debug1: Connection established. debug1: identity file /cygdrive/u/.ssh/identity type -1 debug1: identity file /cygdrive/u/.ssh/id_rsa type -1 debug1: identity file /cygdrive/u/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH_3.* ... How to make ssh to look for files at the /cygdrive/c/.ssh/ directory? How should I modify /etc/passwd? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/