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
08-24-2005 02:25 AM
08-24-2005 02:25 AM
ssh
Noel Miranda
Mar 30, 2005 06:55:23 GMT unassigned
sftp from sysa to sysb using user1
--------------------------------------------
a. Login to sysa as user1.
b. ssh-keygen -t rsa
c. Two files are generated.
1. id_rsa
2. id_rsa.pub
d. Transfer the file id_rsa.pub to sysb:/tmp
e. cat /tmp/id_rsa.pub >>
Create the .ssh directory and touch the file authorized_keys on sysb if necessary. Change permissions as on sysa.
g. Test connection by doing an sftp from sysa to sysb. The first time you may be prompted to retain the signature of the remote system. Just comfirm with an yes. It should take you to the sftp prompt.
f. If you need to communicate the other way i.e. sysb to sysa, then you need to do the same as above after swapping systems.
I get the following error
bash-3.00$ sftp rahul@avalon
Connecting to avalon...
rahul@avalon's password:
Request for subsystem 'sftp' failed on channel 0
Connection closed
bash-3.00$
I have gone chmod 700 on the sysb machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 02:30 AM
08-24-2005 02:30 AM
Re: ssh
or the user will not be trusted.
The error you are receiving, I am not sure what it means.
hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 02:38 AM
08-24-2005 02:38 AM
Re: ssh
Perhaps the sshd daemon is not running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 02:48 AM
08-24-2005 02:48 AM
Re: ssh
There should be a line like this:
Subsystem sftp /opt/ssh/libexec/sftp-server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 02:50 AM
08-24-2005 02:50 AM
Re: ssh
Make sure that PubkeyAuthentication is set to yes in /opt/ssh/etc/sshd_config
Make sure the permissions on both the .ssh AND user home directory are correct. sshd is fussy about the parent directory to .ssh as well as .ssh directory.
Try the same with ssh instead of sftp, see if you get any more meaningful errors. Check again syslog for these messages. They're usually pretty clear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 11:19 PM
08-24-2005 11:19 PM
Re: ssh
I could solve the issue by installing
https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=T1471AA
by doing this i could do a sftp . Thanks for the help