Skip to content

Instantly share code, notes, and snippets.

@tommylees112
Created June 28, 2021 13:30
Show Gist options
  • Save tommylees112/cac47a7f50bc7f9286e00d5f51945623 to your computer and use it in GitHub Desktop.
Save tommylees112/cac47a7f50bc7f9286e00d5f51945623 to your computer and use it in GitHub Desktop.
# https://serverfault.com/a/241593
ssh-keygen -t rsa -b 2048
# copy keys to target server
ssh-copy-id username@server_address
# check login
ssh username@server_address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment