Passwordless linux ssh.

Passwordless linux ssh.

  1. ssh-keygen -t rsa
  2. ssh user@host mkdir -p .ssh
  3. cat .ssh/id_rsa.pub | ssh user@host ‘cat >> .ssh/authorized_keys’ or
ssh-copy-id -i ~/.ssh/mykey user@host
  1. ssh user@host
Comments are closed.