Operating System - HP-UX
1832759 Members
2654 Online
110045 Solutions
New Discussion

sftp connection closed - no match

 
Geoff Wild
Honored Contributor

sftp connection closed - no match

Installed
T1471AA A.03.50.000 HP-UX Secure Shell

sftp works fine to otehr Unix hosts....but fails to Windows with a "Connection closed"

Here it is with a -v

sftp -v myuser@ssh.somesite
Connecting to ssh.somesite...
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f
26108: debug1: Reading configuration data /opt/ssh/etc/ssh_config
26108: debug1: Rhosts Authentication disabled, originating port will not be trusted.
26108: debug1: ssh_connect: needpriv 0
26108: debug1: Connecting to ssh.somesite [xxx.xxx.x.x] port 22.
26108: debug1: Connection established.
26108: debug1: identity file /.ssh/id_rsa type -1
26108: debug1: identity file /.ssh/id_dsa type -1
26108: debug1: Remote protocol version 2.0, remote software version 3.2.3 SSH Secure Shell Windows NT Server
26108: debug1: no match: 3.2.3 SSH Secure Shell Windows NT Server
26108: debug1: Enabling compatibility mode for protocol 2.0
26108: debug1: Local version string SSH-2.0-OpenSSH_3.5p1
26107: Connection closed


Red flag for me is the "no match"

How do I fix this?

Thanks...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: sftp connection closed - no match

Seems like there might be an issue on the Windows NT SSH Server.

Perhaps the server is set up to only recognize clients after public key exchange.

I'm attaching a document on that subject.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: sftp connection closed - no match

Steven,

If I use putty and ssh from a windows machine - the connection works....it did prompt me to accept their key....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: sftp connection closed - no match

Placed a call with HP - here's the solution:

This issue can be checked easily enough, and p
ertains directly to connecting to Windows running sshd version 3.2.3.
Please check and see if you have the /etc/krb5.conf file. If not, please execut
e:
# touch /etc/krb5.conf


Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.