Created
March 7, 2013 15:43
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated to
setup-x86.exe