LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SCP Error: Unrecognized configuration parameter permitlocalcommand (https://www.linuxquestions.org/questions/linux-software-2/scp-error-unrecognized-configuration-parameter-permitlocalcommand-859794/)

raydawg2000 01-31-2011 10:59 AM

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"
lost connection

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!!???

Thanks
-Ray

petebow4 01-31-2011 11:46 AM

Did you check /etc/ssh/sshd_config ? You may have an error there.


All times are GMT -5. The time now is 11:49 PM.