In Host Server | |
generation of ssh key | root@client:~# ssh-keygen |
confirmation of ssh key | root@client:~# ls ?al ~/.ssh |
firewall set-up | root@client:~# chmod 700 ~/.ssh root@client:~# chmod 600 ~/.ssh/id_rsa root@client:~# chmod 644 ~/.ssh/id_rsa.pub root@client:~# chmod 644 ~/.ssh/authorized_keys root@client:~# chmod 644 ~/.sshknown_hosts |
copy ssh public key to Slave Server | root@client:~# scp~/.ssh/id_rsa.pub root@slave:id_rsa.pub |