Skip to content

Instantly share code, notes, and snippets.

@abelboldu
Created March 7, 2013 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save abelboldu/5108940 to your computer and use it in GitHub Desktop.
Save abelboldu/5108940 to your computer and use it in GitHub Desktop.
install cygwin in HyperV/windows server core from powershell cmd to enable sshd
echo Enabling firewall rule...
netsh advfirewall firewall add rule name="SSHd" dir=in action=allow protocol=TCP localport=22
echo Downloading cygwin installer...
$client = new-object System.Net.WebClient
$client.DownloadFile( "http://www.cygwin.com/setup.exe", "c:\windows\temp\setup.exe" )
.\Windows\Temp\setup.exe
@toddpi314
Copy link

Updated to setup-x86.exe

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