diff --git a/Deploy-Win32-OpenSSH.md b/Deploy-Win32-OpenSSH.md index 1c9ee0e..c33a4ec 100644 --- a/Deploy-Win32-OpenSSH.md +++ b/Deploy-Win32-OpenSSH.md @@ -1,10 +1,7 @@ 1. Download [Zip file](https://github.com/PowerShell/Win32-OpenSSH/releases/download/11_09_2015/OpenSSH-Win32.zip) * Extract contents -* Setup SSH host keys (**with no passphrase**) - * `ssh-keygen.exe -t rsa -f ssh_host_rsa_key` - * `ssh-keygen.exe -t dsa -f ssh_host_dsa_key` - * `ssh-keygen.exe -t ecdsa -f ssh_host_ecdsa_key` - * `ssh-keygen.exe -t ed25519 -f ssh_host_ed25519_key` +* 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` @@ -15,4 +12,4 @@ * 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` + * To uninstall - `net stop sshd` ; `sshd.exe uninstall` \ No newline at end of file