GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh without password
Operating System - HP-UX
1845960
Members
2200
Online
110250
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-04-2008 11:53 PM
12-04-2008 11:53 PM
ssh without password
Hi,
I want to enable ssh login between 2 HP-UX 11.23 servers without a password prompt, for one particular user. Kindly provide the step-by-step commands that have to executed.
Thanks in Advance!!
Sridhar
I want to enable ssh login between 2 HP-UX 11.23 servers without a password prompt, for one particular user. Kindly provide the step-by-step commands that have to executed.
Thanks in Advance!!
Sridhar
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2008 11:59 PM
12-04-2008 11:59 PM
Re: ssh without password
just google for ssh shared key in google, there are thousands.
here is one:
http://community.spiceworks.com/education/projects/Passwordless_SSH_Using_Shared_Keys
here is one:
http://community.spiceworks.com/education/projects/Passwordless_SSH_Using_Shared_Keys
Windows?, no thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2008 12:00 AM
12-05-2008 12:00 AM
Re: ssh without password
Hi,
search the forum "passwordless ssh".
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1223480
Kenan.
search the forum "passwordless ssh".
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1223480
Kenan.
Computers have lots of memory but no imagination
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2008 12:46 AM
12-05-2008 12:46 AM
Re: ssh without password
hi
1. create a pulic and private key pair in the client using command in the home directory of the user
client $ssh-keygen -t rsa
it will ask for passphrase
supply your own passphrase
then check with
$ll ~/.ssh/id*
copy the client public key (id_rsa.pub) to the server by ftp or rcp
as a root user create a directory in the server in the user's home directory
# mkdir ~/.ssh
#chown username ~/.ssh
#touch ~/.ssh/authorized_keys
#chown username ~/.ssh/authorized_keys
#chmod 644 authorized_keys
redirect the copied public key file to authorized_users file
cat id_rsa.pub > ~/.ssh/authorized_keys
test user authendication
client $ssh username@servername
it wil prompt for passphrase. after supplying phrase key u can directly login to the server
if u dont want to supply even passphrase then u hve to configure ssh-agent in the client
1. create a pulic and private key pair in the client using command in the home directory of the user
client $ssh-keygen -t rsa
it will ask for passphrase
supply your own passphrase
then check with
$ll ~/.ssh/id*
copy the client public key (id_rsa.pub) to the server by ftp or rcp
as a root user create a directory in the server in the user's home directory
# mkdir ~/.ssh
#chown username ~/.ssh
#touch ~/.ssh/authorized_keys
#chown username ~/.ssh/authorized_keys
#chmod 644 authorized_keys
redirect the copied public key file to authorized_users file
cat id_rsa.pub > ~/.ssh/authorized_keys
test user authendication
client $ssh username@servername
it wil prompt for passphrase. after supplying phrase key u can directly login to the server
if u dont want to supply even passphrase then u hve to configure ssh-agent in the client
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP