Skip to content

Instantly share code, notes, and snippets.

Last active August 17, 2021 06:33
What would you like to do?
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