Δευτέρα 16 Φεβρουαρίου 2015

Secure Shell (SSH)


rekkit@localhost:~> ssh-keygen -t rsa

cat /home/rekkit/.ssh/identity_file_10.248.49.150_fmcadm.pub | ssh fmcadm@10.248.49.150 'cat  >> /home/fmcadm/.ssh/authorized_keys'

Put the public key in .ssh/authorized_keys2
Change the permissions of .ssh to 700

Change the permissions of .ssh/authorized_keys2 to 640