- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
04-17-2008 01:02 PM
04-17-2008 01:02 PM
Passwordless SSH
I need configure Passwordless ssh in mi HPUX enviroment but I don't found any documentation, please anybody know when I found some manual about this???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 01:08 PM
04-17-2008 01:08 PM
Re: Passwordless SSH
rsh would be "passwordless", you can configure it through .rhosts files
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 01:14 PM
04-17-2008 01:14 PM
Re: Passwordless SSH
should find all kinds of previous threads on
this topic. Add "ssh-keygen" to limit the
list. "man ssh" and "man ssh-keygen" could
be useful, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 01:15 PM
04-17-2008 01:15 PM
Re: Passwordless SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 01:32 PM
04-17-2008 01:32 PM
Re: Passwordless SSH
Anyway.
Install HP's Secure Shell from software.hp.com
in users home directory create .ssh directory
ssh-keygen to generate keys ( follow prompts or read man page)
if ssh from serverA to serverB then cut and paste public key from serverA in $HOME/.ssh/authorized_keys on serverB
reverse the process for reverse.
$HOME and $HOME/.ssh must not be writable by group or other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 01:36 PM
04-17-2008 01:36 PM
Re: Passwordless SSH
"ssh -v [...]" will probably be helpful.
(Some people recommend more v's, like
"-vvv", but one usually tells me what I need
to know.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 10:36 AM
04-18-2008 10:36 AM
Re: Passwordless SSH
Cheers,
bob
-Like bob only spelt backwards-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 11:19 AM
04-18-2008 11:19 AM
Re: Passwordless SSH
Here is the steps to make auto ssh.
First login on Server-A as user "a" and generate a pair of authentication keys.
[a@A]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa):
Created directory '/home/a/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved in /home/a/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A
Then login on server-B as user "b" and generate a pair of authentication keys. Do not enter a passphrase:
[b@b]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/b/.ssh/id_rsa):
Created directory '/home/b/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/b/.ssh/id_rsa.
Your public key has been saved in /home/b/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 b@B
Finally append a@A's new public key to b@B:.ssh/authorized_keys and enter b's password one last time:
[a@A]# cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
b@B's password:
From now we can login to server-B as b from server-A as a without password:
[a@A]# ssh b@B hostname
B
Thanks & Regards
Aashique