HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp whit private and public key
Operating System - HP-UX
1833851
Members
2032
Online
110063
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
08-03-2006 01:31 PM
08-03-2006 01:31 PM
sftp whit private and public key
greeting,
In HP-UX 11.00 with SSH, which is the correct configuration to accept a sftp without password from a SUN machine, in direct login?
I`m using sftp username@hostname to connect in.
I have a public and private key in /home/username/.ssh directory
Thanks
Tosca.-
In HP-UX 11.00 with SSH, which is the correct configuration to accept a sftp without password from a SUN machine, in direct login?
I`m using sftp username@hostname to connect in.
I have a public and private key in /home/username/.ssh directory
Thanks
Tosca.-
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2006 03:22 PM
08-03-2006 03:22 PM
Re: sftp whit private and public key
Shalom,
Add the public key the one that ends in .pub to the target server(s) authorized_keys files in the .ssh direcotry. If the target server has no authorized_keys file create one.
Here is the quick and dirty way I create to servers to have public keys.
ssh-keygen -t dsa # which you have done
scp -p id_pub.dsa myuser@secondhost:/$PWD/authorized_keys
Then I reverse the process from the second host.
I have a more elaborate document on the whole process intended for last years defunct HP World.
http://www.hpuxconsulting.com/5004.ppt
SEP
Add the public key the one that ends in .pub to the target server(s) authorized_keys files in the .ssh direcotry. If the target server has no authorized_keys file create one.
Here is the quick and dirty way I create to servers to have public keys.
ssh-keygen -t dsa # which you have done
scp -p id_pub.dsa myuser@secondhost:/$PWD/authorized_keys
Then I reverse the process from the second host.
I have a more elaborate document on the whole process intended for last years defunct HP World.
http://www.hpuxconsulting.com/5004.ppt
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 02:32 AM
08-04-2006 02:32 AM
Re: sftp whit private and public key
Thanks Steven,
I will to check the document and tell you late.
Tosca.-
I will to check the document and tell you late.
Tosca.-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 10:17 PM
08-13-2006 10:17 PM
Re: sftp whit private and public key
One thing to check, is the permissions on the public and private keys, You private key should be 0600 and the public key 0655
Also try using the -v flag for ssh, this increases the verbosity of the messages and will provide clues as to why this is failing.
Also try using the -v flag for ssh, this increases the verbosity of the messages and will provide clues as to why this is failing.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP