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-dummyshell
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
The ssh-dummy-shell command returns the value of the command.
If no command is given, 0 will be returned on exit.
Contains the message shown to the user when the ssh-dummyshell
command is executed without any options.
SSH is a registered trademark of SSH Communication Security
Commands: sftp(1), sftp-server(1), ssh2(1), sshd2(8)
[ Back ]