delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/15/12:45:18

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 <wong_powah AT yahoo DOT ca>
Subject: Re: ssh search identity in wrong directory
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kAFHjDHU024504

From: Corinna Vinschen <corinna-cygwin at cygwin dot com>To: cygwin at cygwin dot comDate: Tue, 7 Sep 2004 15:00:47 +0200Subject: Re: ssh search identity in wrong directoryReferences: <AE9593E6D161544D82CEFCA0552EEAAE016B1450 AT ebexbn01 DOT dpeb DOT de>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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019