Then, I got this link. http://lqman.wordpress.com/2008/08/29/ssh-tanpa-password/
I try it, and it worked..
the steps are below:
in example we want doing SSH from mawaddah to prita. So, in mawaddah type the command below in terminal
==================================================
mawaddah@mawaddah-laptop:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/mawaddah/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/mawaddah/.ssh/id_rsa.
Your public key has been saved in /home/mawaddah/.ssh/id_rsa.pub.
The key fingerprint is:
c1:8d:d4:d7:4a:b0:58:1b:2d:7f:9f:37:dd:9c:6f:fa mawaddah@mawaddah-laptop
mawaddah@mawaddah-laptop:~$ ssh-copy-id -i .ssh/id_rsa prita@192.168.1.246
prita@192.168.1.246's password:
Now try logging into the machine, with "ssh 'prita@192.168.1.246'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
mawaddah@mawaddah-laptop:~$ ssh prita@192.168.1.246Linux prita 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Fri Nov 7 10:44:46 2008 from mawaddah-laptop.local
prita@prita:~
============================================================
Finish........
thanks for Mr. Luqman