- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sftp without password
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
07-18-2005 01:04 AM
07-18-2005 01:04 AM
I have installed ssh on 2 hpux server.
I have generated a key pairs, copied the public one into the authorized_keys host file but the password is still needed.
All parameters are on default value.
What's the problem ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 01:06 AM
07-18-2005 01:06 AM
Re: sftp without password
Also what is the error message. You can details as follows.
ssh -vvv "other_server"
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 01:08 AM
07-18-2005 01:08 AM
Re: sftp without password
The most common mistake I have seen so far is the line breaks in the the public or private ssh keys. Make sure everything is on one single line not broken up over several lines on either side.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 01:42 AM
07-18-2005 01:42 AM
Re: sftp without password
one more thing, if you are using protocol 2 of SSH (which is the default protocol) then I believe the public key file is expected by the name authorized_keys2 and the private key file name should be id_rsa/id_dsa depending on type of key.
Try making this change and see whether it is helpful also check the file permission of private/public key files they are supposed to be only user readable
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 02:48 AM
07-18-2005 02:48 AM
Re: sftp without password
(Note: these items are all on the host you are trying to connect to)
1. permissions of the user's .ssh directory (I always use 700)
2. permissions of the user's authorized_keys file (I always use 600)
3. pemissions of the user's home directory (755 or 750 should be fine)
To get a good idea of what is going on run;
in this example we are trying to connect from hostA to hostB.
hostB# /opt/ssh/sbin/sshd -ddd
hostA# ssh -vvv hostB
You will probably get the most information from the output at hostB. It should point you to your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 05:26 PM
07-18-2005 05:26 PM