Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-31-2011, 11:59 AM   #1
LQ Newbie
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
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!!???

Old 01-31-2011, 12:46 PM   #2
LQ Newbie
Registered: Sep 2005
Location: West Hartford, CT
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 2
Did you check /etc/ssh/sshd_config ? You may have an error there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp server configuration parameter maheshp86 Linux - Server 1 06-26-2010 11:42 AM
postgresql-8.4.2 error: unrecognized configuration parameter "max_fsm_pages" Kropotkin Linux - Server 2 12-29-2009 12:22 PM
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-29-2008 12:41 AM
Postfix Configuration: smtpd_recipient_restrictions parameter sanity check Ghostwheel Linux - Server 1 08-01-2008 01:07 PM
setting up scp alias under bash - parameter passing problem gjr Linux - Newbie 4 06-08-2005 07:38 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration