ssh-dummy-shell - Restricted shell
ssh-dummy-shell [-c sftp-shell]
The -c sftp-shell option is executed as a shell command. Only the
sftp-server argument is allowed. Any other argument causes the ssh-
dummy-shell command to exit immediately.
The ssh-dummy-shell command provides 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
options, the ssh-dummy-shell command waits for the user to press any key
and exit. The only way to execute programs with the ssh-dummy-shell command
is to specify them by using the -c option. Even then, sftp-server is the
only argument allowed.
The ssh-dummy-shell command returns the value of the command. If no com-
mand is given, 0 will be returned on exit.
Contains the message shown to the user when the ssh-dummy-shell command
is executed without any options.
SSH is a registered trademark of SSH Communication Security Ltd.
Commands: sftp(1), sftp-server(1), ssh2(1), sshd2(8)