- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Passwordless SSH
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
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-14-2006 01:53 PM
02-14-2006 01:53 PM
Passwordless SSH
Thanks
Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 02:40 PM
02-14-2006 02:40 PM
Re: Passwordless SSH
1. Generate the key using ssh-keygen -t dsa
2. The above command will create a .ssh directory in the home directory of the user who runs the command (say root)
3. On the destination server create a directory called .ssh in the home directory of root
4. cd to ~root/.ssh directory on the source server and copy the content of id_dsa.pub file into the destination server in a file called authorized_keys
5. change the permission of the file authorized_keys to 640
I guess that should let you ssh without password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 02:43 PM
02-14-2006 02:43 PM
Re: Passwordless SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 02:48 PM
02-14-2006 02:48 PM
Re: Passwordless SSH
Here is a thread which contains method of doing it,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851253
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 03:06 PM
02-14-2006 03:06 PM
Re: Passwordless SSH
plz find the attached doc which talks in brief about SSH passwordless authentication between two unix machines.
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 03:09 PM
02-14-2006 03:09 PM
Re: Passwordless SSH
Also check following my posts on this
topic.
links;
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=972682
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=972682
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 03:52 PM
02-14-2006 03:52 PM
Re: Passwordless SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 05:17 PM
02-15-2006 05:17 PM
Re: Passwordless SSH
is a new tool called csshsetup, which helps
to automate the manual key distribution steps.
You can simply:
csshsetup remotehost
to do a one way key exhange (add your key to the
remote host). You can do:
csshsetup -r remotehost
to do a bidirectional or round-robin key exchange
in order to have passwordless ssh in either direction.
The -f
this to additional hosts. For example, to set
up ssh keys across all the nodes of a Serviceguard cluster:
csshsetup -r -f
where memberlist contains the list of cluster members.
csshsetup will ask you for each remote system's password
one time in order to do the key exchange (using ssh itself).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 07:23 PM
02-15-2006 07:23 PM
Re: Passwordless SSH
It basically works this way:
You start the key agent and load your SSH key into it. You're then asked ONCE for the passphrase of the ssh key. After that, if you connect to a host, the key agent will then present this "pre-authenticated" key and the system will let you login without asking you for an additional password. This only works if you're using SSH interactively, though.
To add a key to the OpenSSH keyagent, run "ssh-add". For PuTTY, double click on your .ppk file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 08:40 PM
02-15-2006 08:40 PM
Re: Passwordless SSH
Hi
sh-keygen -t dsa , generates SSH-2 DSA key pairs.Depending on which protocol and algorithm you use, securely copy or append the public keyfile (~/.ssh/identity.pub, ~/.ssh/id_dsa.pub, or ~/.ssh/id_rsa.pub) from the ssh-client system to the ssh-server system and name it ~/.ssh/authorized_keys. You can append the file using the cat command
regards
tvs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 09:02 PM
02-15-2006 09:02 PM
Re: Passwordless SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2006 09:30 AM
05-25-2006 09:30 AM