This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ssh hangs


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@24.169.25.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@surf.proxy.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@surf.proxy.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
<http://cygwin.com/problems.html>).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]