Skip to content

Instantly share code, notes, and snippets.

@tinohager
Created February 9, 2021 11:55
Show Gist options
  • Save tinohager/8fd995c3c4e40ee111a87fec93e2cc0f to your computer and use it in GitHub Desktop.
Save tinohager/8fd995c3c4e40ee111a87fec93e2cc0f to your computer and use it in GitHub Desktop.
Use Windows internal SSH
# Change the Windows Service config for "OpenSSH Authentication Agent"
sc config "ssh-agent" start=delayed-auto
sc start "ssh-agent"
# Create a private/public key pair
ssh-keygen -t ecdsa -b 521 -f myKey
ssh-add myKey
ssh root@123.123.123.123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment