- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH RSA Public Key Authentication for SFTP connect...
Operating System - HP-UX
1753528
Members
5136
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО10-05-2010 09:47 PM
тАО10-05-2010 09:47 PM
Hi,
I have generated the RSA keys through ftptest user account on HP-UX 11i V1 system. Now i have copied that RSA public key i.e. id_rsa.pub to other HP-UX 11i V1 system. And i have copied the content of id_rsa.pub to /.ssh/known_hosts file.
And then i have login as ftptest user account and tried connecting the other HP-UX server on which i have copied the id_rsa.pub key through SFTP but it is asking me for the password. If i key in the password i am able to SFTP. But i want it should not ask me the password please let me know where i have to make the changes so SFTP will work without password i.e. through SSH RSA Public Key Authentication.
Thanks,
Narendra
I have generated the RSA keys through ftptest user account on HP-UX 11i V1 system. Now i have copied that RSA public key i.e. id_rsa.pub to other HP-UX 11i V1 system. And i have copied the content of id_rsa.pub to /.ssh/known_hosts file.
And then i have login as ftptest user account and tried connecting the other HP-UX server on which i have copied the id_rsa.pub key through SFTP but it is asking me for the password. If i key in the password i am able to SFTP. But i want it should not ask me the password please let me know where i have to make the changes so SFTP will work without password i.e. through SSH RSA Public Key Authentication.
Thanks,
Narendra
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2010 09:58 PM
тАО10-05-2010 09:58 PM
Solution
Hi Narendra,
Do this on remote host
login as ftptest to remote system
cat id_rsa.pub >> $HOME/.ssh/authorized_keys
chmod 600 $HOME/.ssh/authorized_keys
Note :id_rsa.pub should be generated on the source machine from which u are trying to login without password
regards!
Johnson
Do this on remote host
login as ftptest to remote system
cat id_rsa.pub >> $HOME/.ssh/authorized_keys
chmod 600 $HOME/.ssh/authorized_keys
Note :id_rsa.pub should be generated on the source machine from which u are trying to login without password
regards!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2010 10:36 PM
тАО10-05-2010 10:36 PM
Re: SSH RSA Public Key Authentication for SFTP connectivity
Hi Narendra,
take a look at attachment..
burak,
take a look at attachment..
burak,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2010 11:25 PM
тАО10-05-2010 11:25 PM
Re: SSH RSA Public Key Authentication for SFTP connectivity
Thanks for the solution now i am able to SFTP without password.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP