Skip to content

Instantly share code, notes, and snippets.

@r0oland
Last active February 28, 2025 19:19
Show Gist options
  • Save r0oland/f485f2b9249bcc1edee21d03da233989 to your computer and use it in GitHub Desktop.
Save r0oland/f485f2b9249bcc1edee21d03da233989 to your computer and use it in GitHub Desktop.
SSH / Linux / HA Notes and tricks

ssh-keygen -t rsa -b 4096 -f $env:USERPROFILE\.ssh\id_rsa -C "[email protected]"

type $env:USERPROFILE\.ssh\id_rsa.pub | ssh [email protected] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment