-
Notifications
You must be signed in to change notification settings - Fork 784
Deploy Win32 OpenSSH
David Wimsey edited this page Dec 4, 2015
·
19 revisions
- Download Zip file
- Extract contents
- Setup SSH host keys (this will generate all the 'host' keys that sshd expects when its starts)
ssh-keygen.exe -A
- Open Firewall
- start PowerShell
New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH
- If you need key-based authentication:
- Install key-auth package
- run setup-ssh-lsa.cmd
- reboot
- Install key-auth package
- Install and run daemon as NT Service running as Local System
sshd.exe install
net start sshd
- To uninstall -
net stop sshd
;sshd.exe uninstall
- If you want the service to run on every reboot, you must set the service to start automatically in Service Control Manager.
sshd.exe install
sets the service to manual start, not automatic startup.
- MSI Install Instructions
- Script Install Instructions
- Alternative installation using the universal installer
- Retrieving download links for the latest packages