- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: passwd less login
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
Discussions
Discussions
Forums
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
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
тАО03-24-2010 03:22 AM
тАО03-24-2010 03:22 AM
OS is Hp-ux 11.11
I have tried adding hostname in hosts.equiv, hosts.allow and .rhosts
but it is not working.
What are the steps to do it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 03:36 AM
тАО03-24-2010 03:36 AM
Re: passwd less login
You just add the source machine to ~/.rhosts and make sure the permission is 600.
Note: Using ssh is much more secure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 04:25 AM
тАО03-24-2010 04:25 AM
Re: passwd less login
For ssh, you should create public and private dsa keys using 'ssh-key-gen -t dsa' on local-host. Then scp the generated public key (.pub) to the remote host. This key must be appended to ~/.ssh/authorized_keys file
If you need also access without password from the other host to the first one, you should repeat the procedure inverting the machines.
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 05:19 PM
тАО03-24-2010 05:19 PM
SolutionFind solution,
Here we want to do SSH login and SCP form server A to Server B
Server A side
├в ┬в Login with user id and password
├в ┬в Create a directory named .ssh
├в ┬в Run the command for generating the public key $ssh-keygen ├в t dsa ├в f .ssh/id_dsa
├в ┬в This command will generate id_dsa file under .ssh
├в ┬в In server B create directory .ssh user home directory.
├в ┬в Copy id_dsa file from server A to this directory
├в ┬в $cat id_dsa >.ssh/authorized_keys
├в ┬в Change permission of authorized_keys permission to 700.
├в ┬в Now try scp from server A to B first time it will ask connecting presently select yes.
**Keep assigning points as it will encourage others to join the forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 06:16 PM
тАО03-24-2010 06:16 PM
Re: passwd less login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 06:20 PM
тАО03-24-2010 06:20 PM
Re: passwd less login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 11:45 PM
тАО03-24-2010 11:45 PM
Re: passwd less login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 10:19 AM
тАО03-25-2010 10:19 AM
Re: passwd less login
I am attaching the procedure hope it will be much clear.
Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 08:36 PM
тАО03-28-2010 08:36 PM
Re: passwd less login
I am bit confuse. I will explain my scenario.
I have one Linux server [rhel 5]as well as 12 HP-ux machines and 14 sun machines. From linux server and from the other machines i should be able to do password-less SSH in both-ways
how do i configure this?