Updated Install Win32 OpenSSH (markdown)

bagajjal 2017-10-25 11:12:08 -07:00
parent 7a5e63f50a
commit b79948217a

@ -43,13 +43,13 @@ To figure out if this is the case, look for TCP port bindings on port 22 and the
* `Set-Service ssh-agent -StartupType Automatic`
1. Configuring the default ssh shell (optional)
Configure the default ssh shell in the windows registry. It should look like [this](https://user-images.githubusercontent.com/23668037/32013581-67206dca-b970-11e7-8820-fde658d302c1.png).
Configure the default ssh shell in the windows registry.
`Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\DefaultShell` - Full path (case sensitive) of the shell executable
`Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\DefaultShellCommandOption` - command option for the default shell. It is used for executing the remote ssh commands. _Example- ssh user@ip hostname_
If you are configuring the powershell.exe/cmd.exe/bash.exe(WSL) as default ssh shell then you can ignore `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\DefaultShellCommandOption`.
If you are configuring the powershell.exe/cmd.exe/bash.exe(WSL) as default ssh shell then you can ignore `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH\DefaultShellCommandOption`. Your registry should look like [this](https://user-images.githubusercontent.com/23668037/32013581-67206dca-b970-11e7-8820-fde658d302c1.png).
If you want to configure default shell (Ex- cygwin) other than powershell/cmd/WSL-bash then your registry should look like [this](https://user-images.githubusercontent.com/23668037/32015013-9e644cee-b974-11e7-8375-bf3d50f596df.png)