I am doing simple scp on debian and it throws following errors.

"command-line: line 0: Bad configuration option: PermitLocalCommand".

Checked PermitLocalCommand in ssh_config and ssd_config. It's not present in both of them.

How it can be resolved ?

link|improve this question

0% accept rate
Did you try to restart your ssh deamon? – Khaled Dec 13 '10 at 10:01
Did you check both /etc/ssh/ssh[d]_config and your ~/.ssh/ssh_config files? – Janne Pikkarainen Dec 13 '10 at 10:07
I uninstalled and then reinstalled openssh. That solved my problem. sudo sudo apt-get remove openssh-client sudo apt-get install openssh-client sudo apt-get remove openssh-server sudo apt-get install openssh-server. I think openssh was not in latest version. – Champion Dec 13 '10 at 12:02
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.