
Here is some good information on setting up ssh for usage with keys:
http://www.puddingonline.com/~dave/publications/SSH-with-Keys-HOWTO/document/html/SSH-with-Keys-HOWTO-4.html


Your .ssh subdirectory original settings are = 700
drwx------   2 larry larry       4096 May 12 13:14 .ssh


Your files in .ssh have the following original settings = 644
larry@debian:~/.ssh$ ls -alt
total 28
drwxr-xr-x 107 larry larry 20480 May 14 03:49 ..
-rw-r--r--   1 larry larry   442 May 12 13:15 known_hosts
drwx------   2 larry larry  4096 May 12 13:14 .


To setup ssh for using public keys you need to generate the Version 1 or Version 2 keys on your
computer or Server.  These will be a set of keys, one PRIVATE and one PUBLIC.
-rw-r--r--   1 larry larry  1679 May 14 09:12 id_rsa
-rw-r--r--   1 larry larry   399 May 14 09:12 id_rsa.pub

To generate the keys use:
[code]
ssh-keygen -t rsa
[/code]
which will generate a Version 2 (default) rsa key

OR
[code]
ssh-keygen -t dsa
[/code]
which will generate a Version 2 (default) dsa key


Once the keys have been generated copy the PUBLIC key to your servers userlogin .ssh subdirectory.
I used root.  Then use the following to create the authorized_keys2 file:
[code]
cd /
cd root
cd .ssh
cp authorized_keys authorized_keys.sav
cp authorized_keys1 authorized_keys1.sav
cp authorized_keys2 authorized_keys2.sav
cat ../id_rsa.pub >> authorized_keys2
chmod 600 authorized_keys2
rm id_rsa.pub
[/code]


Login without using a password via:
ssh root@192.168.1.250

or if you what to open graphical stuff use:
ssh -X -C user@192.168.1.250

Logout with:
logout



