Georgia SoftWorks

Configure SSH Server to allow users to use the “exec” channel.

Configure SSH Server to allow users to use the “exec” channel.

Allow/Disallow users using the “exec” channel as defined in the SSH Connection Protocol. The ‘Exec channel’ allows to use ssh ‘exec’ capable clients in scripts.

This 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:

The default value is 0x0. (Do not allow access to the “exec” channel). The value 0x1 enables the use of the “exec” channel.

The following 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 Registry Key:

6. Select the menu item Edit and then click on Modify
7. Enter the new value for the bAllowServiceExecute and click OK

Watch How to Configure SSH Server to allow users to use the “exec” channel

Your browser doesn't support HTML5 video.

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

Back to SSH Server FAQ

Document Number: FAQ-SSH-EX012001081519