From aff7bac754aa4c558b40d58590c0c1419eadc106 Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Thu, 13 Sep 2018 11:03:27 -0700 Subject: [PATCH] Updated DefaultShell (markdown) --- DefaultShell.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/DefaultShell.md b/DefaultShell.md index e0755b6..30bc9a2 100644 --- a/DefaultShell.md +++ b/DefaultShell.md @@ -1,10 +1,11 @@ -If you configure a default shell, ensure that OpenSSH installation path is in system PATH. If not already present, amend system PATH and restart sshd service. +To configure a default shell, ensure that the following prerequisites are met + - OpenSSH installation path is in system PATH. + - If not already present, amend system PATH and restart sshd service. -On the server side, 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` - The switch that the configured default shell requires to execute a command and immediately exit and return to the calling process. It is used for executing the remote ssh commands. _Example- ssh user@ip hostname_ +Follow these steps: +- On the server side, 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` - The switch that the configured default shell requires to execute a command and immediately exit and return to the calling process. It is used for executing the remote ssh commands. _Example- ssh user@ip hostname_ ***