Friday, January 17, 2014

Passwordless SSH tuthorization on Linux


  • Delete all files from => rm -rf  root/.ssh/ *
  • Generate Key => ssh-keygen -t rsa -N “”
  • Cope script on Second Server => scp root@192.168.1.3:/root/
  • cd /root/.ssh
  • cat /root/id_rsa.pub > authorized_keys 

No comments:

Post a Comment