Silly question regarding SSH.

Hi Guys,
I have installed SSH package on server as well as clients.
I think I need to these steps next.

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?
Just wanted to check before i start expirementing on production boxes.
I am working solaris 2.8 on E6500.
Please help.

Pleease somebody help.

that looks fine, except you don't usually want to copy id_dsa.pub as auth_keys, since you might overwrite the existing one.

get a copy of vmware or cygwin so you can play with this stuff without affecting production machines.

The magic files are

$HOME/.ssh/identity
$HOME/.ssh/authorized_keys

you mispelt an s for a z.

and modes should be

700 for .ssh directory
and
600 for .ssh/authorized_keys and identity