Updated Install Win32 OpenSSH (markdown)

bagajjal 2017-10-16 17:20:33 -07:00
parent 7b996ef63a
commit c559394639

@ -36,14 +36,14 @@ To figure out if this is the case, look for TCP port bindings on port 22 and the
* `Set-Service sshd -StartupType Automatic`
* `Set-Service ssh-agent -StartupType Automatic`
1. Configuring the default ssh shell (optional)
Configure the default ssh shell in the windows registry
Configure the default ssh shell in the windows registry. It should look like [this](https://user-images.githubusercontent.com/23668037/31640389-f133818a-b292-11e7-8522-c2bb744eb67c.png).
`Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\DefaultShell` - **Full path of the shell executable.**
`Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\DefaultShellCommandOption` - **option to execute non-interactive commmands.**
_If you are configuring the powershell.exe/cmd.exe/bash.exe as default ssh shell then you can ignore `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\DefaultShellCommandOption`._
It should look like [this](https://user-images.githubusercontent.com/23668037/31640389-f133818a-b292-11e7-8522-c2bb744eb67c.png).
Note: `New-NetFirewallRule` is for servers only. If you're on a client desktop machine (like Windows 10) try: