rsync backup tanpa password

Posting kali ini kita akan membuat suatu sistem semacam autentikasi otomatis tanpa password melalui ssh, cara ini sangat berguna jika kita menggunakan backuppc, atau auto backup dan sejenisnya secara automatis

Sebagai contoh saya akan menggunakan backuppc

Login ke backuppc, kemudian change user backuppc

$ su backupc

membuat ssh key-pair

$ ssh-keygen

Transfer SSH public-key

$ ssh-copy-id root@client_ip_address

Lakukan pengetesan dengan

$ ssh root@client_ip_address

Referensi

https://www.digitalocean.com/community/tutorials/how-to-use-backuppc-to-create-a-backup-server-on-an-ubuntu-12-04-vps

https://www.howtogeek.com/66776/how-to-remotely-copy-files-over-ssh-without-entering-your-password/

Advertisements

2 thoughts on “rsync backup tanpa password

Add yours

Leave a Reply

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 / Change )

Twitter picture

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

Facebook photo

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

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Powered by WordPress.com.

Up ↑

%d bloggers like this: