- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to ssh between two servers
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
02-15-2011 06:30 PM
02-15-2011 06:30 PM
unable to ssh between two servers
i have generated a rsa public key in one server and copied to the authorized_key under the .ssh directory which is under his home directory.
can u help me what are all the remaining files to be checked to login through ssh with out password as i am unable to do it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2011 11:02 PM - last edited on 09-02-2011 01:03 PM by Kevin_Paul
02-15-2011 11:02 PM - last edited on 09-02-2011 01:03 PM by Kevin_Paul
Re: unable to ssh between two servers
Hi,
Have a look at the thread below, they discuss in detail how to setup password less ssh:
http://h30499.www3.hp.com/t5/System-Administration/Passwordless-SSH/m-p/4182256/highlight/true#M322574
Pay special attention to Robert Salter's post, as it has an attachment with detailed instructions.
Hope that helps!
sangilak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2011 11:33 AM
02-16-2011 11:33 AM
Re: unable to ssh between two servers
it probably says you have the wrong permissions on either the file or users directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2011 12:20 PM
02-16-2011 12:20 PM
Re: unable to ssh between two servers
If you want anil@srv1 to be able to ssh to kumar@srv2:
anil@srv1# ssh-keygen -t dsa (accept all defaults)
anil@srv1# cd ~/.ssh
anil@srv1# scp id_dsa.pub srv1:/tmp
kumar@srv2# cd ~/.ssh
(if no exist, ssh to any machine and it will create the .ssh dir in your home dir)
kumar@srv2# cat /tmp/id_dsa.pub >>authorized_keys
Done.
Now the following will be trusted and SSH (ssh. scp, etc) will now be passwordless:
anil@srv1# ssh kumar@srv2
Adjust the process appropo to the situation at hand.
Hope this is clears enough...
And give us some Luv if this fixes your issue.