Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 12 Oct 2001 10:21:27 -0400 (EDT) From: Scott Evans X-X-Sender: To: Peter Buckley cc: Subject: Re: ssh vs. ~/.ssh In-Reply-To: <3BC62313.6296D60F@cportcorp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sorry, perhaps I wasn't clear. I'm trying to connect to another machine (a linux machine, actually) -- I'm only using the ssh *client* on cygwin, not the server. I know that //d is outdated. But the weird thing is that //d doesn't appear in any configuration files anywhere! > //d is the now outdated way that you could have > accessed local drives "as network shares". This > has been removed from cygwin IIRC since 1.3.2? > > Did you install SSHD as a service in the past? > I think you have to "remove the service" and then > install the new ssh as a service for things to > work correctly. > > Have you restarted the service since you changed > /etc/passwd? > > Have you modified the cygdrive prefix that mount > uses? Or did you mount your own home directory? > > HTH, > Peter > > Scott Evans wrote: > > > > 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/ > > -- > Your mouse has moved. > Windows NT must be restarted for the change to take effect. > Reboot now? [OK] > > -- > -- 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/