- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- configuring ssh key
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
05-01-2006 12:22 PM
05-01-2006 12:22 PM
Does anyone has step by step instructions on how to configure ssh keys etc ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 12:40 PM
05-01-2006 12:40 PM
Solutionsu - username
if [ -d .ssh ]
then
echo ".ssh dir exists"
else
mkdir ~/.ssh
fi
/opt/ssh/bin/ssh-keygen -b 1024 -t dsa -N "pass phrase of your choice" ... (see man page for all other options)
at this point, you should have two files under ~/.ssh, which are
id_dsa
id_dsa.pub
copy the id_dsa.pub to the remote node where you want to login to, into the username's home directory. Make sure the remote user have at least read rights on that file
go to the remote node and login as remote node's user name
cat ~/id_dsa.pub >> ~/.ssh/authorized_keys
you should be good to go, provided you do not have wide open permissions fo your .ssh directory or private key file.
private key on the first host where you created the key pair and authorized_keys file on the remote host should be no more open than 640 permissions and the .ssh directory on either side should be open to no one but the owner, i.e., permissions 700 at best.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 12:42 PM
05-01-2006 12:42 PM
Re: configuring ssh key
http://www.hpuxconsulting.com/5004.ppt
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 12:46 PM
05-01-2006 12:46 PM
Re: configuring ssh key
Have a look at this FAQ http://docs.hp.com/en/6073/FAQ-SSH.pdf
And http://www.openssh.com/manual.html which gives you the details of all files in ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 04:52 PM
05-01-2006 04:52 PM
Re: configuring ssh key
Check the attached file for detailed description about SSH key generation.
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 10:49 AM
05-02-2006 10:49 AM
Re: configuring ssh key
Thanks for sending in an excellent presentation. I apologize as i gave you 7 point. It deserved 10 point full which i realized later.
Regards,
Shiv