Created
February 7, 2026 08:59
-
-
Save malikbenkirane/561b7128e4591ebfe93206809ad289ab to your computer and use it in GitHub Desktop.
Windows Powershell ssh-keygen / Tailscale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add to %USERPROFILE%/.ssh/config | |
| Host dwh | |
| HostName TAILSCALE_IP | |
| Port 22 | |
| User admin | |
| IdentitiesOnly yes | |
| IdentityFile C:\PATH\TO\SSH_PRIVATE_KEY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-keygen -t rsa -b 3072 -f C:\PATH\SSH_PRIVATE_KEY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $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