sftp from solaris to windows 2008 hangs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting sftp from solaris to windows 2008 hangs
# 1  
Old 05-23-2011
sftp from solaris to windows 2008 hangs

Hi All,Our sftp connection from Solaris to windows 2008 hangs with following verbose output. From the output I can see that the connection itself ( key matching ) is successful , but I can't see sftp prompt.
Code:
Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to XXXXXXXXXXXXX [10.169.32.165] port 670.
debug1: Connection established.
debug1: identity file /export/home/abinitio/.ssh/id_rsa type 1
debug1: identity file /export/home/abinitio/.ssh/id_dsa type -1
debug1: Logging to host: XXXXXXXXXXXXX
debug1: Local user: abinitio Remote user: xfer
debug1: Remote protocol version 2.0, remote software version WRQReflectionforSecureIT_7.1.2 Build 835
debug1: no match: WRQReflectionforSecureIT_7.1.2 Build 835
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.1.3
debug1: use_engine is 'yes'
debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA, and symmetric ciphers
debug1: pkcs11 engine initialization complete
debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessibleUnknown code 0)
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-sha1 none
debug1: kex: client->server aes128-cbc hmac-sha1 none
debug1: Peer sent proposed langtags, ctos:
debug1: Peer sent proposed langtags, stoc:
debug1: We proposed langtags, ctos: i-default
debug1: We proposed langtags, stoc: i-default
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 167/320
debug1: bits set: 1010/2048
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'XXXXXXXXXXXXX' is known and matches the RSA host key.
debug1: Found key in /export/home/abinitio/.ssh/known_hosts:40
debug1: bits set: 1045/2048
debug1: ssh_rsa_verify: signature correct
debug1: newkeys: mode 1
debug1: set_newkeys: setting new keys for 'out' mode
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: set_newkeys: setting new keys for 'in' mode
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying public key: /export/home/abinitio/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149 lastkey 6ee80 hint 0
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey)
debug1: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending subsystem: sftp
debug1: channel request 0: subsystem
debug1: channel 0: open confirm rwindow 16384 rmax 35840

Same connection in QA works. with exactly same verbose output, only difference is that at the end it displays sftp> prompt .Can anyone plz help. My guess is some setting of ssh/sftp client on windows. Any advise would be greatly welcome.Regards,R

Moderator's Comments:
Mod Comment Please start using [CODE] tags and line breaks when posting code listings, sample output, ...

Last edited by pludi; 05-23-2011 at 09:08 AM..
# 2  
Old 05-26-2011
Did you compare *ssh*config files for systems and users?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 - ufsdump hangs

Anyone ever see an issue where ufsdump 'hangs' after the IV Pass? Normally, it will update with an estimate of how long it will take to complete...and update the info every 20 minutes. I'm running the following command: root# ufsdump 0f - /fsmount | ( cd /zfs/newfsmount ) ; ufsrestore rf - )... (2 Replies)
Discussion started by: RTM
2 Replies

2. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies

3. IP Networking

SFTP hangs

Ok sftp connects but hangs after I enter the password manually The ssh version is 1.0 bash-2.05$ ssh -V SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. When I go from solaris 9 to sftp to another server with latest proftpd version it hangs after the password. proftpd -V Compile-time... (6 Replies)
Discussion started by: slufoot80
6 Replies

4. Solaris

Transfer files from windows to solaris with winscp (file protocol:SFTP)

Hello, I have a couple of zip files to be copied from my local drive to a folder in solaris10 residing in a VM ware. i am using WINSCP, I tried to get hold of the solaris hostname or ip using ifconfig -a , hostname|nslookup etc. when i create a new session in WINSCP using that IP and port... (6 Replies)
Discussion started by: herbich1985
6 Replies

5. Solaris

Solaris ssh client hangs when connecting to another Solaris machine

Got a strange problem. I have 4 Solaris servers all configured the same, Solaris 10 x86 update 10. When I try to ssh from one Solaris 10 server to another server ssh hangs. I have an identical server and when I try this everything works fine. The weird thing is if I am root on the server... (1 Reply)
Discussion started by: ccj4467
1 Replies

6. UNIX for Advanced & Expert Users

SFTP. ls and get hangs.

Hello I have a sftp problem. If I do sftp between some nodes that we installed it works fine i can list directories and get files. If I connect with sftp from the other side of a firewall (wich has port 22 open) I can log in and cd to which ever direcory i want i can do pwd but when i do... (4 Replies)
Discussion started by: vettec3
4 Replies

7. Shell Programming and Scripting

SFTP HANGS

Hi , we are writing a shell script to test connection of our destination servers and facing an issue if the destination server doesnt respond. we are using the following command., sftp -B /dev/fd/0 <host@servername> << EOF >> file.txt quit EOF --------- The above command hangs for 20min and... (0 Replies)
Discussion started by: mohanpadamata
0 Replies

8. Solaris

SFTP from Solaris to Windows

Hello Guys, I was looking for a method for passwordless SFTP from Solaris to Windows server. I googled a lot, but could not find anything which would suit my purpose. All I found on google was the error messages that people got, but not how to do it. Please help. I am in urgent need of it. (7 Replies)
Discussion started by: grajp002
7 Replies

9. Windows & DOS: Issues & Discussions

Install Windows 2003 R2 on existing Windows 2008

Hi, I am trying to install WIndows 2003 R2 Server on existing Windows 2008 server. When I run the 2003 cd it says no disk found. What can be the problem. (2 Replies)
Discussion started by: gunnervarma
2 Replies

10. Windows & DOS: Issues & Discussions

WRQ Reflection SFTP process hangs when run using windows scheduler

Hi I am doing development on .net framework on Win 2003 box. I am scheduling a job using Windows scheduler to kick off SFTP of files from a local directory to a remotre Unix box. I am using WRQ Reflection Multihost v12.0.7 standard edition for this. Here is how we are scheduling the thing.... (0 Replies)
Discussion started by: kapilash
0 Replies
Login or Register to Ask a Question