search for: some_where

Displaying 3 results from an estimated 3 matches for "some_where".

Did you mean: omewhere
2017 Jan 11
3
Allow execution of commands via ssh but not to login
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
2017 Jan 11
0
Allow execution of commands via ssh but not to login
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...
2017 Jan 11
1
Allow execution of commands via ssh but not to login
...d for nothing.... :( Thanks John and Seb! authorized_keys will do the job. On Wed, Jan 11, 2017 at 10:40 AM, seb <sebastien at r2-info.fr> wrote: > 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 log...