delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/11/16:52:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 11 Oct 2001 16:51:43 -0400 (EDT)
From: Scott Evans <gse AT antisleep DOT com>
X-X-Sender: <antisleep AT herndon11 DOT his DOT com>
To: <cygwin AT cygwin DOT com>
Subject: ssh vs. ~/.ssh
Message-ID: <Pine.BSI.4.33.0110111641460.13384-100000@herndon11.his.com>
MIME-Version: 1.0

I just upgraded to the latest Cygwin and I'm having problems connecting
via ssh without typing in my password.  This worked before.

The first thing I found was that the latest ssh uses the home directory
from my /etc/passwd file.  I don't believe the older one did that.
So I modified my /etc/passwd to point at my local home directory (rather
than the network home directory it pointed at before).  Still no love.
But now, when I run ssh -vvv, I see that one check is looking for my
identity file in //d/scott, rather than /d/scott.  I'll paste the
output below.

Note that if I use "ssh -i /d/scott/.ssh/identity", things work fine.

Where is this "//d" value coming from?  HOME is set to /d/scott, my
passwd entry says /d/scott, and I have nothing anywhere that says
//d/scott.  Any ideas?




[scott] $ ssh -vvv scott AT dib
OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 12122 geteuid 12122 anon 1
debug1: Connecting to dib [192.168.1.2] port 22.
debug1: temporarily_use_uid: 12122/10513 (e=12122)
debug1: restore_uid
debug1: temporarily_use_uid: 12122/10513 (e=12122)
debug1: restore_uid
debug1: Connection established.
debug1: identity file //d/scott/.ssh/identity type -1
debug1: Remote protocol version 1.99, remote software version
OpenSSH_2.5.2p2
debug1: match: OpenSSH_2.5.2p2 pat ^OpenSSH_2\.5\.[012]
debug1: Local version string SSH-1.5-OpenSSH_2.9.9p2
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug3: check_host_in_hostfile: filename /d/scott/.ssh/known_hosts2
debug3: check_host_in_hostfile: filename /etc/ssh_known_hosts2
debug3: check_host_in_hostfile: filename /d/scott/.ssh/known_hosts2
debug3: check_host_in_hostfile: filename /etc/ssh_known_hosts2
debug3: check_host_in_hostfile: filename /d/scott/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug3: check_host_in_hostfile: filename /d/scott/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host 'dib' is known and matches the RSA1 host key.
debug1: Found key in /d/scott/.ssh/known_hosts:1
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing password authentication.
scott AT dib's password:


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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