Remote
REMOTE SSH
Generate an SSH Key
keygen
ssh-keygen -t rsa -b 4096Copy the key to a server
ssh-copy-id username@ipserverTest the new key
ssh -i ~/.ssh/id_rsa.pub username@ipserverCOPY FILE (SCP)
Berfungsi untuk copy file menggunakan SSH (seperti FTP)
scp file.sql root@192.168.100.2:file/sharesource https://www.ssh.com/academy/ssh/copy-id#generate-an-ssh-key