Mix'n'match between packages an ports?
matthew at FreeBSD.org
Sun Jul 5 19:28:29 UTC 2015
On 05/07/2015 19:59, kpneal at pobox.com wrote:
> Is anyone using ssh urls? If so, _exactly_ what command is executed on
> the server side when the client ssh's in? I need to know to setup ssh
> keys that can execute only one command when used.
Try using the forced command feature to run a shell script that logs the
SSH_ORIGINAL_COMMAND variable, and then execs it. Actually, that's a
good general approach in general: make the forced command a shell script
that can examine SSH_ORIGINAL_COMMAND and decide whether or not to
execute the original command.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 971 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions