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.


 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now