- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp problem
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
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
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
06-16-2015 06:45 AM
06-16-2015 06:45 AM
sftp problem
When I run sftp, I get no output whatsoever, not even an error message. How do i diagnose this? hp-ux 11.31
ssh -v #06/16/15 9:38AM#
OpenSSH_6.2p1+sftpfilecontrol-v1.3-hpn13v12, OpenSSL 0.9.8y 5 Feb 2013
HP-UX Secure Shell-A.06.20.006, HP-UX Secure Shell version
# /opt/ssh/bin/sftp -v -v -v xxx.xxx.xx.xx
- Tags:
- sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2015 09:33 PM
06-16-2015 09:33 PM
Re: sftp problem
> [...] hp-ux 11.31
On what?
uname -a
> OpenSSH_6.2p1+sftpfilecontrol-v1.3-hpn13v12, OpenSSL 0.9.8y 5 Feb 2013
Newer than mine, so I know nothing, but...
> When I run sftp, I get no output whatsoever, [...]
For how long? True for all servers, or only "xxx.xxx.xx.xx"? For
all users? (Is "xxx.xxx.xx.xx" an IP address?)
truss /opt/ssh/bin/sftp -vvv xxx.xxx.xx.xx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2015 04:42 AM
06-17-2015 04:42 AM
Re: sftp problem
# uname -a #06/17/15 7:42AM#
HP-UX xxxxxx B.11.31 U ia64 2534092628 unlimited-user license
True for all users, for all target computers.
I have copied sshd_config and ssh_config from another machine, restarted ssh to no avail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2015 04:53 AM
06-17-2015 04:53 AM
Re: sftp problem
Sometimes I get this in reply:
Connection closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2015 07:11 AM
06-17-2015 07:11 AM
Re: sftp problem
> For how long?
> [...] (Is "xxx.xxx.xx.xx" an IP address?)
> truss /opt/ssh/bin/sftp -vvv xxx.xxx.xx.xx
Still wondering.
> [...] for all target computers.
You really tried _all_ possible target computers? How many was
that?
> I have copied sshd_config and ssh_config from another machine,
Why? Were they different? I would not expect "sshd*" to affect
greatly a _client_ problem.
> restarted ssh
Which means what, exactly? As usual, showing actual commands with
their actual output can be more helpful than vague descriptions or
interpretations.
> Sometimes I get this in reply:
> Connection closed
Can you communicate with "xxx.xxx.xx.xx" (whatever that is) in any
other way (FTP, ssh, Telnet, ...)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2015 08:03 AM
06-17-2015 08:03 AM
Re: sftp problem
The problem was that the ssh file was set to 0 in size. Strange. I copied a working ssh file and all is working.
Also there were multiple versions of ssh on the system, but apparently the necessary one was null in size.