Post #1317541
2026-04-05 15:45 UTC
@kevin In Ubuntu it could be /etc/environment and/or /etc/security/pam_env.conf.
But it is processed by pam, (man pam_env), so you probably have to set UsePAM yes in /etc/ssh/sshd_config.
You can also add Environment option in ssh.service and define PATH for sshd process and it's children.
Replies (0)
No replies.