Skip to content

Instantly share code, notes, and snippets.

@trillerpfeife
Last active May 31, 2016 20:21
Show Gist options
  • Save trillerpfeife/e698950e8620fe9f3b760de3c41f0970 to your computer and use it in GitHub Desktop.
Save trillerpfeife/e698950e8620fe9f3b760de3c41f0970 to your computer and use it in GitHub Desktop.
How To Configure SSH Key-Based Authentication on a Linux Server
on client:
ssh-keygen
ssh-copy-id username@remote_host
Disabling password authentication on server:
edit /etc/ssh/sshd_config
-> PasswordAuthentication no
service ssh restart
voilá
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment