How to Configure Your SSH Server to Allow Users to Use the “Exec” Channel


How to Configure Your SSH Server to Allow Users to Use the “Exec” Channel

Did you know that you can configure your GSW SSH Server to allow users to use the exec channel? You can! With the Georgia SoftWorks SSH Server, there is an Allow/Disallow option defined in the SSH Connection Protocol.

What does this option do? The “Exec” Channel allows users to use SSH ‘Exec’ capable clients in their scripts.

Background Information: The Allow/Disallow functionality may be accessed as shown in this example: ssh luke@gsw2003 cmd /c dir

You can Allow/Disallow this capability by modifying the following registry key:

bAllowServiceExecute

The key is:

For Win x64: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Georgia SoftWorks\GSW_SSHD\Parameters\bAllowServiceExecute

For Win x86: HKEY_LOCAL_MACHINE\SOFTWARE\Georgia SoftWorks\GSW_SSHD\Parameters\bAllowServiceExecute

0x0 = Do not allow access to the “exec” channel. 0x1 = Allow access to the “exec” channel.

The default value is 0x0, which does not allow access to the “exec” channel. To modify, simply change the 0x0 to 0x1.

This is the procedure to change the registry key for allowing the use of the “exec” channel.

  1. Click the START button at the bottom left corner of your screen.

  2. Click RUN

  3. Type: REGEDIT

  4. Click OK

  5. Select the Registry Key:

    For Win x64: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Georgia SoftWorks\GSW_SSHD\Parameters\bAllowServiceExecute

    For Win x86: HKEY_LOCAL_MACHINE\SOFTWARE\Georgia SoftWorks\GSW_SSHD\Parameters\bAllowServiceExecute

  6. Select the menu item EDIT and then click MODIFY

  7. Enter the new value for the bAllowServiceExecute and click OK. Remember, 0x0 does not allow access to the “exec” channel, and 0x1 does allow access to the “exec” channel.

The new value will take effect when the GSW SSH service is restarted.

Posted in How To's and Helpful Information on Mar 17, 2021



LinkedIn Facebook Twitter Pinterest Reddit StumbleUpon Tumblr Email