nitinkgoud
IS-IT--Management
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.
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.