Debian logoDebian Screenshots >

restricted-ssh-commands

Restrict SSH users to a predefined set of commands

Description

restricted-ssh-commands is intended to be called by SSH to restrict a user to only run specific commands. A list of allowed regular expressions can be configured in /etc/restricted-ssh-commands/. The requested command has to match at least one regular expression. Otherwise it will be rejected.

restricted-ssh-commands is useful to grant restricted access via SSH to do certain task. For example, it could allow a user to upload a Debian packages via scp and run reprepro processincoming.

Create a configuration file in /etc/restricted-ssh-commands/ and add following line to ~/.ssh/authorized_keys to use it

   command="/usr/bin/restricted-ssh-commands",no-port-forwarding,
   no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa [...]

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://github.com/bdrung/restricted-ssh-commands


Statistics

878 other people were interested in this package here. The newest known version of this software is 0.4-1 (Information last updated 1 day ago.)