Package: restricted-ssh-commands (0.4-1.1)
Links for restricted-ssh-commands
Debian Resources:
Download Source Package restricted-ssh-commands:
- [restricted-ssh-commands_0.4-1.1.dsc]
- [restricted-ssh-commands_0.4.orig.tar.xz]
- [restricted-ssh-commands_0.4.orig.tar.xz.asc]
- [restricted-ssh-commands_0.4-1.1.debian.tar.xz]
Maintainer:
External Resources:
- Homepage [github.com]
Similar packages:
limitazione di utenti SSH con un insieme predefinito di comandi
restricted-ssh-commands è pensato per essere chiamato da SSH per limitare un utente ad eseguire solo comandi specificati. Un elenco di espressioni regolari permesse può essere configurato in /etc/restricted-ssh-commands/. Il comando richiesto deve corrispondere ad almeno un'espressione regolare, altrimenti viene rifiutato.
restricted-ssh-commands è utile per concedere un accesso ristretto tramite SSH per fare certe attività. Per esempio, potrebbe permettere a un utente di caricare dei pacchetti Debian tramite scp ed eseguire "reprepro processincoming".
Creare un file di configurazione in /etc/restricted-ssh-commands/ e aggiungere la riga seguente a ~/.ssh/authorized_keys per usarlo.
command="/usr/lib/restricted-ssh-commands",no-port-forwarding,\ no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa [...]
Download restricted-ssh-commands
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 6.3 kB | 19.0 kB | [list of files] |