Your browser does not allow storing cookies. We recommend enabling them.

SSH

ssh-dummy-shell

ssh-dummy-shell — Ultimately restricted shell

Synopsis

ssh-dummy-shell [-c sftp-shell]

Description

ssh-dummy-shell is used to provide access to systems where only file transfer functionality is permitted. Users with file-transfer-only access can have ssh-dummy-shell as their user shell. When executed without any parameters, the program waits for the user to press any key and exit. The only way to execute programs with ssh-dummy-shell is to give them as command-line parameters with the -c option. Even then, sft-server-g3 is the only allowed command.

Options

-c command

The parameter is executed as a shell command. Only the sftp-server command is allowed. Any other command causes ssh-dummy-shell to exit immediately.

Return Status

ssh-dummy-shell returns the return value of the given command. If no command is given, 0 will be returned on exit.

Files

/opt/tectia/etc/ssh_dummy_shell.out

Contains the message that is shown to the user when ssh-dummy-shell is executed without any parameters.