Skip to content

Instantly share code, notes, and snippets.

@cellularmitosis
Last active August 17, 2021 06:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cellularmitosis/829ecb8f0bb7cea7d4e7f0a667e3fd56 to your computer and use it in GitHub Desktop.
Save cellularmitosis/829ecb8f0bb7cea7d4e7f0a667e3fd56 to your computer and use it in GitHub Desktop.
One-time sshd on Windows/MSYS2

Blog 2020/5/1

<- previous | index | next ->

One-time sshd on Windows/MSYS2

Need to ssh into your Windows machine? Open up an MSYS2 terminal and run:

$ ssh-keygen -A
$ /usr/bin/sshd -D

This runs sshd in the foreground. Press Control-C when finished.

Make sure you answer any Windows Firewall prompts.

Check your IP address with ipconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment