Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help regarding SSH

Status
Not open for further replies.

nitinkgoud

IS-IT--Management
Jun 28, 2006
87
0
0
US
Hi Guys,
I have installed SSH package on server as well as clients.
I think I need to these steps next.( We do not have proper docs in our company for SSH)

Login as root on the server.
1) ssh-keygen -b 1024 -t rsa -f /etc/ssh_hosts_key.pub -N " "

Login to root as the user.
2)ssh_keygen -b 1024 -t rsa
Enter the phrase

Basically this create 2 files in dir /home/<user_name>/.ssh. Copy id_rsa.pub as authorised_keys.

Copy this 3 files to the client machine in user directory

Login to client as root.
3) ssh-agent $SHELL
4)ssh-add <pahrase>

Is this correct? (Actually i dont properly know that these commands do)
Just wanted to check before i start expirementing on production boxes.
I am working solaris 2.8 on E6500.
Please help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top