Skip to content

Instantly share code, notes, and snippets.

View a-stankevich's full-sized avatar

Arthur Stankevich a-stankevich

View GitHub Profile
@a-stankevich
a-stankevich / win-openssh.md
Created May 7, 2025 10:49 — forked from gildas/win-openssh.md
Deploy OpenSSH on Windows 2019 Full and Core

Deploy OpenSSH on Windows Server 2019

Goals

We want to install OpenSSH on a Windows Server 2019, so we can remote access it with ssh myuser@win2019.

We want also to turn on PowerShell Remoting over SSH, so we can create PSSession objects from PowerShell Core on Linux/MacOs/Windows.

Acknowledgments

@a-stankevich
a-stankevich / wsl-fix-resolvconf.sh
Created June 29, 2022 09:23 — forked from nfekete/wsl-fix-resolvconf.sh
Fix resolv.conf in Windows Subsystem for Linux, when WSL doesn't correctly generate it.
#!/bin/bash
TMP=`mktemp`
trap ctrlC INT
removeTempFiles() {
rm -f $TMP
}
ctrlC() {