[CentOS] Allow execution of commands via ssh but not to login
seb
sebastien at r2-info.frWed Jan 11 15:40:58 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 ]
Hi, you can use the option command your /home/user/.ssh/authorized_keys . for example : command="cd /some_where; other command , ssh-rsa key ....." Le 11/01/2017 à 16:34, Bernard Fay a écrit : > 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" ? > > > Thanks, > Bernard > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
- 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