- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- sftp problem
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP