[CentOS] Allow execution of commands via ssh but not to login
John Hodrien
J.H.Hodrien at leeds.ac.ukWed Jan 11 15:38:04 UTC 2017
- Previous message: [CentOS] Allow execution of commands via ssh but not to login
- Next message: [CentOS] Allow execution of commands via ssh but not to login
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 11 Jan 2017, Bernard Fay wrote: > Hi, > > Is there a way to allow a user to execute commands via ssh, for example: > "ssh user at server ls", but disallow the same user to login on this server > with "ssh user at server" ? Google "ssh restrict to single command". First hit covers using the command option in authorized_keys. jh
- Previous message: [CentOS] Allow execution of commands via ssh but not to login
- Next message: [CentOS] Allow execution of commands via ssh but not to login
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list