Help regarding SSH on solaris 8

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 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.

[829 byte] By [nitinkgoud] at [2007-11-26 8:46:51]
# 1

Hi

Step1 for just conencting thro ssh

ps -ef|grep ssh (to make sure the daemon is running)

Modify the sshd_config file and make rhe required changes

some of them

PasswordAuthentication

PermitRootLogin

StrictModes

PermitEmptyPasswords

once you make these changees stop and start the sshd daemon,now try to connect from your pc (thro putty or other ssh client tools ,it should connect

step2

password less login (using key exchange)

Generate the key as you have mentioned on system 1

ftp the .pub file over to system 2

go to system 2 do a ssh to the system and terminate (this will create a .ssh directory)

put the .pub from the system 1 here and also create a file called authorized_keys or the other way is cat the *.pub >authrozed_keys

make the same kind of chanegs to the sshd_config file on this system(system 2) and recycle the sshd daemon

Now try ssh from system 1 to 2 it should login with out asking for a password.

Hope this helps

Rgds

Gopih

Gopih at 2007-7-6 22:32:59 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...