1. Buat Key SSH
ssh-keygen -t rsa
2. Copy Key ke server target
cara pertama : ssh-copy-id -i ~/.ssh/id_rsa.pubĀ noIP_target
cara kedua : cat ~/.ssh/id_rsa.pub | ssh username@remote_host “cat >> ~/.ssh/authorized_keys”
1. Buat Key SSH
ssh-keygen -t rsa
2. Copy Key ke server target
cara pertama : ssh-copy-id -i ~/.ssh/id_rsa.pubĀ noIP_target
cara kedua : cat ~/.ssh/id_rsa.pub | ssh username@remote_host “cat >> ~/.ssh/authorized_keys”