{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Pass Through SSH tanpa Password
Pass Through SSH tanpa Password
Hari ini configurasi Tunnels Script sudah saya persiapkan, dan tinggal ngebikin ssh login ke server tanpa menggunakan password, caranya mudah … ikuti saja cara berikut ini …
—-
Thx
1. Generate key,
dms@porn.org:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/dms/.ssh/id_rsa):
Created directory ‘/home/dms/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/dms/.ssh/id_rsa.
Your public key has been saved in /home/dms/.ssh/id_rsa.pub.
The key fingerprint is:
e3:25:0d:5b:35:11:15:91:27:f4:5a:f7:10:96:09:1f dms@porn.org
dms@porn.org:~$
2. Simpan berkas id_rsa.pub di server tujuan ($HOME_USER/.ssh/authorized_keys)
dms@porn.org:~$ scp /home/dms/.ssh/id_rsa.pub dms@pornpic.org:.ssh/authorized_keys
Filed under: 7. Operating System