In Slave Server

move ssh public key to “.ssh” dirictory

root@slave:~# cat id_rsa.pub >> ~/.ssh/authorized_keys

firewall set-up

root@slave:~# chmod 700 ~/.ssh

root@slave:~# chmod 644 ~/.ssh/authorized_keys