How to control commands executed via ssh - Setup

This is a discussion on How to control commands executed via ssh - Setup ; Is there a way to control the commands that can be executed via an ssh connection as well as restrict what files can be changed in some directories? - voipfc...

+ Reply to Thread
Results 1 to 2 of 2

Thread: How to control commands executed via ssh

  1. How to control commands executed via ssh


    Is there a way to control the commands that can be executed via an ssh
    connection as well as restrict what files can be changed in some
    directories?

    - voipfc


  2. Re: How to control commands executed via ssh

    voipfc wrote:
    > Is there a way to control the commands that can be executed via an ssh
    > connection as well as restrict what files can be changed in some
    > directories?


    rbash (restricted bash) may do some or all of what you want.

    --
    Neil T. Dantam


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux)

    iD8DBQFGhp69wwply6nMzOoRA8+JAJ4k+rNp9mlo87M2fshCfp sgdZ/YeQCeO79D
    12NN0y8GXlRgfRr7zpjoouc=
    =zlm9
    -----END PGP SIGNATURE-----


+ Reply to Thread