Skip to content

Instantly share code, notes, and snippets.

@jauhari
Created July 11, 2023 12:39
Show Gist options
  • Save jauhari/f6f451c1b1f3cdb9929af67f14608321 to your computer and use it in GitHub Desktop.
Save jauhari/f6f451c1b1f3cdb9929af67f14608321 to your computer and use it in GitHub Desktop.
ssh-copy-id on Windows 11
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {IP-ADDRESS-OR-FQDN} "cat >> .ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment