Skip to content

Instantly share code, notes, and snippets.

@malikbenkirane
Created February 7, 2026 08:59
Show Gist options
  • Select an option

  • Save malikbenkirane/561b7128e4591ebfe93206809ad289ab to your computer and use it in GitHub Desktop.

Select an option

Save malikbenkirane/561b7128e4591ebfe93206809ad289ab to your computer and use it in GitHub Desktop.
Windows Powershell ssh-keygen / Tailscale
# Add to %USERPROFILE%/.ssh/config
Host dwh
HostName TAILSCALE_IP
Port 22
User admin
IdentitiesOnly yes
IdentityFile C:\PATH\TO\SSH_PRIVATE_KEY
ssh-keygen -t rsa -b 3072 -f C:\PATH\SSH_PRIVATE_KEY
$env:USERPROFILE\.ssh\SSH_PRIVATE_KEY
# instead of C:\Users\USERNAME.ssh\SSH_PRIVATE_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment