SCP Error: Unrecognized configuration parameter permitlocalcommand
This started happening about 2-3 weeks ago when i noticed our backups weren't running anymore. whenever i try to run ANY type of scp command I get the following error:
warning: Unrecognized configuration parameter permitlocalcommand
ssh: FATAL: Illegal -o parameter "PermitLocalCommand no"
I checked the /etc/ssh/ssh_config file and there was a command PermitLocalCommand commented out, but for testing I even totally removed that line and then in scp forced the use of that file via
scp -F /etc/ssh/ssh_config ......
and I still get the same error. This command is nowhere is any of my ssh config files so im at a loss here on how im supposed to fix this!! I even checked my home directory for maybe a ssh config file that might be overridding the system config but nothing. any ideas please!!???