[ TAG ] : clé

[ TITLE    ] : Restrict User to SSH Forced Command(s)
[ CATEGORY ] : //
[ DATE     ] :

In order to restrict executable SSH commands with authorized keys, you can use the SSH feature called forced command within the authorized_keys file.As the command is bound to an SSH key, when the user try to execute a command, the only output will be the one of the command configured previously. The use of a non-interactive will be helpful when the user is a daemon or can’t answers on the terminal, especially if SSH_ORIGINAL_COMMAND is used: this variable contains the original command line if a

= this.value; // Récupère la valeur sélectionnée const themeStylesheet = document.getElementById('theme-stylesheet'); if (themeStylesheet) { themeStylesheet.setAttribute('href', selectedTheme); // Applique le thème } // Sauvegarde dans le localStorage localStorage.setItem('selectedTheme', selectedTheme); });

Copyleft 2010-2025 - 4L1N3 - Hexo - Theme by PPOffice + (a lot of) personal modifications