Remote Login SSH Tanpa Password

04Des09

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

 

[referensi]


 



No Responses Yet to “Remote Login SSH Tanpa Password”

  1. Tinggalkan sebuah Komentar

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s


Ikuti

Get every new post delivered to your Inbox.