diff --git a/Install-Win32-OpenSSH.md b/Install-Win32-OpenSSH.md index 1dd6050..796ede4 100644 --- a/Install-Win32-OpenSSH.md +++ b/Install-Win32-OpenSSH.md @@ -16,15 +16,11 @@ To get links to latest downloads [this wiki page](https://github.com/PowerShell/ ``` 1. Start `sshd` (this will automatically generate host keys under %programdata%\ssh if they don't already exist) * `net start sshd` -1. Migrate sshd configuration from 0.0.X.X versions (optional): - * To use existing customized sshd_config, you need to copy it from binary location to %programdata%\ssh\sshd_config (Note that %programdata% is a hidden directory). - * To use existing host keys, you need to copy them from binary location to %programdata%\ssh\ - * Prior versions required SSHD resources (sshd_config, host keys and authorized_keys) to have READ access to "NT Service\SSHD". This is no longer a requirement and the corresponding ACL entry should be removed. You may run `Powershell.exe -ExecutionPolicy Bypass -Command '. .\FixHostFilePermissions.ps1 -Confirm:$false'` (Note the first "." is a call operator.) to fix up these permissions. -1. Setup `sshd` and `ssh-agent` to auto-start (optional) - * `Set-Service sshd -StartupType Automatic` - * `Set-Service ssh-agent -StartupType Automatic` - -1. To configure a default shell (optional) see [here](https://github.com/PowerShell/Win32-OpenSSH/wiki/DefaultShell) +1. Optional + - To configure a default shell, see [here](https://github.com/PowerShell/Win32-OpenSSH/wiki/DefaultShell) + - To setup `sshd` service to auto-start + * `Set-Service sshd -StartupType Automatic` + - To migrate sshd configuration from older versions (0.0.X.X), see [here](https://github.com/PowerShell/Win32-OpenSSH/wiki/Migrate-sshd_config-from-older-versions) ## Uninstall Win32 OpenSSH