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

Package: restricted-ssh-commands (0.4-1.1)

Links for restricted-ssh-commands

Screenshot

Debian Resources:

Download Source Package restricted-ssh-commands:

Maintainer:

External Resources:

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

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.3 kB19.0 kB [list of files]