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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 2 Dec 2003 12:29:36 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Ben Anderson cc: cygwin AT cygwin DOT com Subject: RE: ssh hangs In-Reply-To: Message-ID: References: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Ben, Some comments inline below. On Tue, 2 Dec 2003, Ben Anderson wrote: > >1. Consider deleting your ~/.ssh directory on your ssh client > > computer and running the 'ssh-user-config' script that > > is provided with OpenSSH (in /usr/bin). This should > > allow you to do the minimal amount of configuration. > > Then copy the public-key file that it creates in your > > ~/.ssh directory to the ssh server machine's ~/.ssh > > directory. > > ok, I did this. Now I get this output: > > $ ssh -vvv -F ./ssh_config -p 80 andersonbd1 AT 24 DOT 169 DOT 25 DOT 75 > OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003 > debug1: Reading configuration data ./ssh_config > debug1: Applying options for * > debug2: ssh_connect: needpriv 0 > debug1: Executing proxy command: exec connect.exe -H > banderso AT surf DOT proxy DOT com:80 24.169.25.75 80 > debug1: identity file /cygdrive/c/.ssh/identity type 0 ^^^^^^^^^^^^^^^^^^^^^^^^^ Your $HOME is somehow set to 'c:\'. Is your /etc/passwd up-to-date? > debug3: Not a RSA1 key file /cygdrive/c/.ssh/id_rsa. > debug2: key_type_from_name: unknown key type '-----BEGIN' > debug3: key_read: missing keytype > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug2: key_type_from_name: unknown key type '-----END' > debug3: key_read: missing keytype > debug1: identity file /cygdrive/c/.ssh/id_rsa type 1 > debug3: Not a RSA1 key file /cygdrive/c/.ssh/id_dsa. > debug2: key_type_from_name: unknown key type '-----BEGIN' > debug3: key_read: missing keytype > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug3: key_read: missing whitespace > debug2: key_type_from_name: unknown key type '-----END' > debug3: key_read: missing keytype > debug1: identity file /cygdrive/c/.ssh/id_dsa type 2 > Enter proxy authentication password for banderso AT surf DOT proxy DOT com: ###I enter > my password > ssh_exchange_identification: Connection closed by remote host > debug1: Calling cleanup 0x41bf10(0x0) > > BTW, I'm having a hard time copying and pasting this from the console > because it only works in the dos flavored console. If I open an xterm, then > all the output appears at the xterm except when it asks for my password. > This appears at the dos console. Then when I type the first letter of my > password - it exits. Do I need to redirect input somehow when I start > xterm? This doesn't sound right. Are you using Cygwin's 'ssh'? Please run 'type -a ssh' from the bash prompt in an xterm and 'which ssh' from the command console, and post both outputs. Also try using '/bin/ssh' explicitly. > Any ideas about the ssh? It seems the keys aren't being recognized properly > by cygwin. > > Thanks, > Ben Another guess: are you using text mounts? Please *attach* the output of "cygcheck -svr" to your reply (as requested in ). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/