Visit Jeremy's Blog.
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 05-26-2004, 03:20 PM   #1
Registered: Jan 2003
Posts: 94

Rep: Reputation: 15
scp problem

Im running gentoo 1.4, and i have a shell account that runs redhat 8 (i believe)
now, i have a .tar file. that i am trying to copy from my pc, to the shell. So i log into the shell and type
scp shunpo@myhomepc:/home/user/file.tar ./

and the error i recieve is this
command-line: line 0: Bad configuration option: ClearAllForwardings

the admin said it wasnt anything to do with their end, and i should check my ssh settings. so i opened up ssh_config, but saw nothing related to clearallfowardings.

just wondering if anyone has seen this before.

Old 06-05-2008, 09:49 AM   #2
Registered: Feb 2007
Distribution: slackware,gentoo,ubuntu
Posts: 50

Rep: Reputation: 17
to verify, you've checked both potential config files, the one in your home directory ~/.ssh/ and the systems /etc/ssh/ ?

try making it verbose (ssh -v) to see what is occuring.
Old 06-05-2008, 10:26 AM   #3
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,060

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
The key:

man ssh_config
Ssh reads it's config from:

1.- command line options
2.- ~/.ssh/config
3.- /etc/ssh/ssh_config

For each option, the first occurrence that is found is used. So, check that:

1.- you are not using strange stuff in command line, make sure you have no functions or aliases defined wich are superseding the ssh related commands.

2.- check ~/.ssh/config for "ClearAllForwardings".

3.- tell the admins the step you performed, and ask them for additional help and checks.


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
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
SCP problem Lotharster Linux - Networking 6 12-02-2005 03:40 AM
scp problem! alaios Linux - Security 5 05-08-2004 01:06 PM
scp problem eduac Linux - Security 3 08-11-2003 10:00 AM
scp problem pentium5 Linux - General 0 06-16-2002 11:31 PM

All times are GMT -5. The time now is 10:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration