On Saturday, October 24, 2020 11:05:45 PM CET the...@sys-concept.com wrote:
> If I login from the command "ifconfig" now works from command line at
> the terminal but if I login over "ssh", "ifconfig" is not working only
> "/bin/ifconfig"
> 
> I was thinking it is the option in sshd_config: PermitUserEnvironment
> but enabling it didn't help.

Which USE-flags did you use for ssh?

# eix net-misc/openssh

should provide this.

Also, do you have the following in your sshd_config:

" UsePAM yes "

This is normally used to configure the environment as well.

--
Joost



Reply via email to