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.


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more