Restrict Ssh Commands

This article shows how to restrict SSH commands on a linux system


Step-by-step guide:

  1. Install authprogs on the server
  2. Add the permitted commands on authprogs.conf file
  3. Configure user’s ~/.ssh/authorized_keys file to read authprogs binary file