all options
stretch  ] [  buster  ] [  bullseye  ] [  sid  ]
[ Source: restricted-ssh-commands  ]

Package: restricted-ssh-commands (0.4-1 and others)

Links for restricted-ssh-commands


Debian Resources:

Download Source Package restricted-ssh-commands:


External Resources:

Similar packages:

Restrict SSH users to a predefined set of commands

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

   no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa [...]

Download restricted-ssh-commands

Download for all available architectures
Architecture Version Package Size Installed Size Files
all 0.4-1 7.1 kB20.0 kB [list of files]
alpha (unofficial port) 0.3-1 6.5 kB19.0 kB [list of files]
hppa (unofficial port) 0.3-1 6.5 kB19.0 kB [list of files]
m68k (unofficial port) 0.3-1 6.5 kB19.0 kB [list of files]
ppc64 (unofficial port) 0.3-1+b1 6.8 kB20.0 kB [list of files]
sh4 (unofficial port) 0.3-1 6.5 kB19.0 kB [list of files]
sparc64 (unofficial port) 0.3-1+b1 6.7 kB20.0 kB [list of files]
x32 (unofficial port) 0.3-1 6.5 kB19.0 kB [list of files]