Wednesday, October 16, 2024

ssh PermitLocalCommand no

Hello,

PermitLocalCommand should have a default value of "no".
By the way I have set PermitLocalCommand to no in my ssh_config and I
continue to be able to launch commands from the ssh launch line
after a "systemctl restart ssh" in Linux box.
I checked if by by case exists any other ssh config file but doesn't.
Is it possible to block local command launches via ssh command line at
all or I'm too enthusiastic?

Any advise? Thanks,

-Dan

No comments:

Post a Comment