Category: Linux

Linux Password Less SSH

  • Login to source machine as user you want to connect as e.g. root
  • Create public key
  • Run the following commands to setup the remote machine and log into it via SSH

ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/ root@[REMOTEIPADDRESS ssh root@[REMOTEIPADDRESS

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.