Remote Login SSH Tanpa Password
nirwan# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
/root/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
70:6f:ea:60:3b:ad:72:2d:9d:dd:1e:a2:40:e8:78:94 root@nirwan.net
The key’s randomart image is:
+–[ RSA 2048]—-+
| |
| |
| . . |
| o o . |
| E . S o |
| + . o |
| . o ++.o… |
| …+==….. |
| oo+o .. |
+—————–+
nirwan# cd /root/.ssh/
nirwan# scp id_rsa.pub nirwan@172.16.0.125:.ssh/authorized_keys
Password:
id_rsa.pub 100% 397 0.4KB/s 00:00
nirwan# ssh nirwan@172.16.0.125
Filed under: Weblogs | Leave a Comment
No Responses Yet to “Remote Login SSH Tanpa Password”