ssh-dummy-shell(1) — Commands
NAME
ssh-dummy-shell − Restricted shell
SYNOPSIS
ssh-dummy-shell [−c sftp-shell]
OPTIONS
−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.
DESCRIPTION
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 allowable argument.
EXIT STATUS
The ssh-dummy-shell command returns the value of the command. If no command is given, 0 will be returned on exit.
FILES
/etc/ssh2/ssh_dummy_shell.out
Contains the message shown to the user when the ssh-dummy-shell command is executed without any options.
LEGAL NOTICES
SSH is a registered trademark of SSH Communication Security Ltd.