- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sftp not connecting.
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
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
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
тАО07-12-2009 10:27 AM
тАО07-12-2009 10:27 AM
sftp not connecting.
sftp -v nishara@192.168.10.25
Connecting to 192.168.10.25...
OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004
HP-UX Secure Shell-A.04.10.003, HP-UX Secure Shell version
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug1: Connecting to 192.168.10.25 [192.168.10.25] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/3
debug1: identity file /.ssh/id_rsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.1
debug1: match: OpenSSH_4.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.10.25' is known and matches the RSA host key.
debug1: Found key in /.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /.ssh/id_rsa
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending subsystem: sftp
Request for subsystem 'sftp' failed on channel 0
Connection closed
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2009 01:05 PM
тАО07-12-2009 01:05 PM
Re: sftp not connecting.
check this link from ITRC :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=125579
hope the link will solve your problem.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 04:09 AM
тАО07-13-2009 04:09 AM
Re: sftp not connecting.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2009 07:19 AM
тАО07-13-2009 07:19 AM
Re: sftp not connecting.
Along with Mel's comments, if you can't run ssh, see you can run scp and copy the files over that way (which I'd prefer over sftp).
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 10:45 PM
тАО07-14-2009 10:45 PM
Re: sftp not connecting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 10:52 PM
тАО07-14-2009 10:52 PM
Re: sftp not connecting.
check the /etc/ssh/sshd_config
i you have this line :
Subsystem sftp /usr/libexec/openssh/sftp-server
mikap
PS : did you try to connect to the ssh, with a sftp from loalhost ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:10 PM
тАО07-14-2009 11:10 PM
Re: sftp not connecting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:13 PM
тАО07-14-2009 11:13 PM
Re: sftp not connecting.
sorry on HP-UX its in this location :
/etc/opt/ssh
but the option should be defult enabled.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:20 PM
тАО07-14-2009 11:20 PM
Re: sftp not connecting.
this is the o/p i got from /etc/opt/ssh
Subsystem sftp /opt/ssh/libexec/sftp-server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:23 PM
тАО07-14-2009 11:23 PM
Re: sftp not connecting.
i tried to connect now, but i am getting the error as
sftp nishara@192.168.10.25
Connecting to 192.168.10.25...
ssh: connect to host 192.168.10.25 port 22: Connection refused
Couldn't read packet: Connection reset by peer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:25 PM
тАО07-14-2009 11:25 PM
Re: sftp not connecting.
could you use the localhost on the ssh server instead of the public IP ??
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:30 PM
тАО07-14-2009 11:30 PM
Re: sftp not connecting.
Request for subsystem 'sftp' failed on channel 0
Connection closed
no its not connecting on local host also mikap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:32 PM
тАО07-14-2009 11:32 PM
Re: sftp not connecting.
ok so the problem is on ssh server that should provide a sftp.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:35 PM
тАО07-14-2009 11:35 PM
Re: sftp not connecting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:37 PM
тАО07-14-2009 11:37 PM
Re: sftp not connecting.
check the permission :
section : sftp problems
http://www.brandonhutchinson.com/Miscellaneous_UNIX_notes.html
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2009 11:41 PM
тАО07-14-2009 11:41 PM
Re: sftp not connecting.
drwxr-xr-x 2 root root 4096 May 22 2006 libexec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 01:15 AM
тАО07-16-2009 01:15 AM
Re: sftp not connecting.
When performing your test ssh connection to localhost, it would also be helpful to enable debugging for the server-side in addition to the client-side (/usr/sbin/sshd -ddd) - you may also want to turn up the debug level on the client-side too, to get more detail whilst troubleshooting (ssh -vvv localhost)
Hope this helps.
Regards,
Nick 'dubya'