Skip to content

Instantly share code, notes, and snippets.

@r0oland
Last active February 28, 2025 19:19
Show Gist options
  • Select an option

  • Save r0oland/f485f2b9249bcc1edee21d03da233989 to your computer and use it in GitHub Desktop.

Select an option

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 "johannesrebling@gmail.com"

type $env:USERPROFILE\.ssh\id_rsa.pub | ssh r0oland@192.168.178.5 "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