Re: Disconnects from server after authentication key validation

From: Tim Brazil <tbrazil_at_**********.***>
Date: Tue Jul 10 2007 - 11:57:59 EDT

Tim Brazil wrote:
> Hi All
>
> I'm new to the list. Unfortunately I arrive with a problem I'm trying
> to solve. I installed the Windows openssh port on a Windows XP
> Professional machine. I initially setup simple password authentication
> which worked well. I tested if both from a Linux and OSX client.
>
> I then setup authorization keys using ssh_keygen. I generated the
> public key on one of my *NIX machines and copied it over to the
> Windows box and then attempted to connect. I can see that it makes the
> connection successfully, authenticates the dsa key, appears to send
> the environment and then bam... it disconnects from the server with
> some "channel 0" chatter. I don't know what it's failing on.
>
> I tried setting different sshd_config options to no avail. I did set
> StrictModes off as recommended. I also turned off
> PermitUserEnvironment. I'm still having problems. Does anyone have a
> suggestion?
>
> TIA - Tim
>
> > ssh -v -v linux-tbrazil
> OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to linux-tbrazil [10.0.0.238] port 22. ...
Thanks to those who responsed. Yes, cygwin1.dll was missing from my
environment. I wasn't using the full Cygwin install. The other response
related to file rights is probably also valid but instead of trying to
resolve the problem incrementally I went with the general suggestion of
moving to copSSH. After doing that I was up and running in minutes.

Thanks again
Tim

--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
Received on Tue Jul 10 11:58:22 2007

This archive was generated by hypermail 2.1.8 : Tue Jul 10 2007 - 11:58:23 EDT