... | ... | @@ -136,7 +136,7 @@ After adding the Match stanza, reload sshd: |
|
|
```shell
|
|
|
$ sudo systemctl force-reload sshd
|
|
|
```
|
|
|
If for some reason you need to pass special environment variables to `guardctrl`, you can point the ForceCommand to something like `/etc/guardian/guardctrl-ssh-bridge` which can be a shell script that sets the needed environment and then execs `/usr/bin/guardctrl` (without arguments). Be sure to set your wrapper script to be executable.
|
|
|
If for some reason you need to pass special environment variables to `guardctrl`, you can point the ForceCommand to something like `/etc/guardian/guardctrl-ssh-bridge` which can be a shell script that sets the needed environment and then execs `/usr/bin/guardctrl` (without arguments). Make sure the wrapper script is executable.
|
|
|
|
|
|
#### local guardian user access
|
|
|
|
... | ... | |