- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp client hangs during connection
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2012 08:51 AM
тАО01-12-2012 08:51 AM
sftp client hangs during connection
HP-UX 11.23 on rx2620 (Itanium)
# ssh -V
OpenSSH_5.8p1+sftpfilecontrol-v1.3-hpn13v7, OpenSSL 0.9.8q 2 Dec 2010
HP-UX Secure Shell-A.05.80.002, HP-UX Secure Shell version
My hpux sftp client hangs during a connection. Below is the sftp PID that is hung during this particular connection. Has anyone had a simitar issue? If I kill the PID the connection quits normal.
# ps -ef | grep sftp
root 6997 14697 0 11:48:35 pts/1 0:00 grep sftp
debx 27394 1 0 10:43:33 ttyp1 0:00 /usr/bin/sftp -oFallBackToRsh=no -oForwardX11=no -oForwardAgent=no -oClearAllForwardings=yes -oProtocol=2 -F/opt/gex/etc/openss
Thanks,
- Tags:
- sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2012 12:07 AM
тАО01-13-2012 12:07 AM
Re: sftp client hangs during connection
debx 27394 1 0 10:43:33 ttyp1 0:00 /usr/bin/sftp -oFallBackToRsh=no -oForwardX11=no -oForwardAgent=no -oClearAllForwardings=yes -oProtocol=2 -F/opt/gex/etc/openss
Looks like you're using some special ssh configuration file with sftp. Perhaps the configuration file overrides some of the previous options on the command line. Just what is in that file?
Please add the -x option to your ps command, so you can see the entire command line, instead of this truncated version. There should also be a child process of sftp running the ssh command; you should check its options too. So, if "debx" is the user running sftp, I'd like you to run this command:
ps -fxu debx | grep -e sftp -e ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2012 05:28 AM
тАО01-13-2012 05:28 AM
Re: sftp client hangs during connection
# ps -fxu debx | grep -e sftp -e ssh
debx 11366 11359 0 12:27:35 ttyp1 0:00 /opt/ssh/bin/ssh -oForwardX11 no -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings yes -o FallBackToRsh=no -o ForwardX11=no -o ForwardAgent=no -o ClearAllForwardings=yes -o Protocol=2 -F /opt/gex/etc/openssh/client/ssh_config -o Port=22 -o Cipher=3des -C -v -o KeepAlive=no -o UsePrivilegedPort=yes -o PubkeyAuthentication=yes -o PasswordAuthentication=yes -o PreferredAuthentications=publickey,password,keyboard-interactive -o HostKeyAlgorithms=ssh-rsa,ssh-dss -o MACs=hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96 -l grymejo -oProtocol 2 -s -- 10.1.1.41 sftp
debx 6792 6787 0 08:25:04 ? 0:00 sshd: debx@pts/0
debx 11359 1 0 12:27:35 ttyp1 0:00 /usr/bin/sftp -oFallBackToRsh=no -oForwardX11=no -oForwardAgent=no -oClearAllForwardings=yes -oProtocol=2 -F/opt/gex/etc/openssh/client/ssh_config -oPort=22 -oCipher=3des -C -v -oKeepAlive=no -oUsePrivilegedPort=yes -oPubkeyAuthentication=yes -oPasswordAuthentication=yes -oPreferredAuthentications=publickey,password,keyboard-interactive -oHostKeyAlgorithms=ssh-rsa,ssh-dss -oMACs=hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96 grymejo@10.1.1.41
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2012 05:55 AM
тАО01-13-2012 05:55 AM
Re: sftp client hangs during connection
Hi
Process of sftp should look like this without any options " sftp machine_name":
root@client:/# ps -ef | grep -i sftp
root 28210 28160 0 13:52:32 pts/0 0:00 sftp machine_name
root 28279 28215 0 13:52:45 pts/1 0:00 grep -i sftp
Try it with any options and see if the problem subsists
Regards