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
09-10-2004 02:09 AM
09-10-2004 02:09 AM
sftp
I try to use WinSCP2 to connect to the HP UX server, however I keep getting the message " Error detecting variable containing return code of last command." I have OpenSSH2 installed on the server.
Also I read something about "run SFTP on the server. It is best to run it as a SSH2 subsystem." How do I find out if SFTP is running on the server? How can I run it as a subsystem of SSH2?
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:19 AM
09-10-2004 02:19 AM
Re: sftp
ps -ef |grep ssh
root 8615 1 0 Aug 19 ? 0:00 /opt/ssh/sbin/sshd
Release notes:
http://docs.hp.com/hpux/onlinedocs/T1471-90011/T1471-90011.html
Secure Shell can be downloaded here:
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:24 AM
09-10-2004 02:24 AM
Re: sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:25 AM
09-10-2004 02:25 AM
Re: sftp
ps -ef | grep ssh
Will return a line indicating sshd if installed and running.
If the package is installed I believe the depot installs in /etc/opt - you should see a ssh directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:29 AM
09-10-2004 02:29 AM
Re: sftp
/sbin/init.d/secsh
It starts in:
/sbin/rc2.d/S393secsh
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:30 AM
09-10-2004 02:30 AM
Re: sftp
root 1114 1 0 Aug 9 ? 4:01 sshd
However I couldn't find ssh under /etc/opt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:34 AM
09-10-2004 02:34 AM
Re: sftp
/sbin/init.d/secsh
/sbin/rc2.d/S393secsh
The ssh we have on the server is OpenSSH2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:40 AM
09-10-2004 02:40 AM
Re: sftp
In particular, the FAQ:
http://www.openssh.org/faq.html
There's some info on sftp...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 02:52 AM
09-10-2004 02:52 AM
Re: sftp
# find / -name "ssh*" -print
This command is not probably not the most efficient search but it will get the job done. Depending on size of system and disks, hopefully won't create much overhead.
Once located you can scan the directory.
One thought is you do not have the ssh directory in your PATH - if it is true that it is not HP's ssh.
From your ps -ef output the daemon is running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 03:33 AM
09-10-2004 03:33 AM
Re: sftp
simply as ps -ef | grep -v grep | grep sshd
And if you want to run the ssh as ssh2 then,
we have to change the sshd_config setting of protocol version as,
protocol 2,1
so that it will work as protocol version 2 first ( ssh2 ) then it will be as 1 if ssh2 can not be executed.
Restart the sshd now! You are ready to run sftp with ssh2 sub system.. that is it.
- Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 03:37 AM
09-10-2004 03:37 AM
Re: sftp
/opt/openssh2/man/man1/ssh-add.1
/opt/openssh2/man/man1/ssh-agent.1
/opt/openssh2/man/man1/ssh-keygen.1
/opt/openssh2/man/man1/ssh-keyscan.1
/opt/openssh2/man/man1/ssh.1
/opt/openssh2/man/man8/sshd.8
/opt/openssh2/bin/ssh
/opt/openssh2/bin/ssh-add
/opt/openssh2/bin/ssh-agent
/opt/openssh2/bin/ssh-keygen
/opt/openssh2/bin/ssh-keyscan
/opt/openssh2/etc/ssh_config
/opt/openssh2/etc/ssh_host_dsa_key
/opt/openssh2/etc/ssh_host_dsa_key.pub
/opt/openssh2/etc/ssh_host_key
/opt/openssh2/etc/ssh_host_key.pub
/opt/openssh2/etc/ssh_host_rsa_key
/opt/openssh2/etc/ssh_host_rsa_key.pub
/opt/openssh2/etc/ssh_prng_cmds
/opt/openssh2/etc/sshd_config
/opt/openssh2/sbin/sshd
/var/run/sshd.pid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 03:44 AM
09-10-2004 03:44 AM
Re: sftp
"Subsystem sftp /opt/openssh2/libexec/sftp-server" I know we are on SSH2, and we have been using SSH2 client successfully for a long time. It just won't work with the sftp client(WinSCP2) on my pc. Would you please recommend a client to me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 04:07 AM
09-10-2004 04:07 AM
Re: sftp
There is putty that has the sftp and scp and ssh clients all there. They are called different names but it is still a free download.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 04:58 AM
09-10-2004 04:58 AM
Re: sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 05:03 AM
09-10-2004 05:03 AM
Re: sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 05:09 AM
09-10-2004 05:09 AM
Re: sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 06:25 AM
09-10-2004 06:25 AM
Re: sftp
"Cannot get real path for '.'.
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 16"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2004 06:59 AM
09-10-2004 06:59 AM
Re: sftp
Thanks for all your help.