Possible bug? scp attempts to forward ports...

Peter Smith psmith at epicrealm.com
Fri Jan 12 08:54:25 EST 2001


I've been having a recurring problem using ssh and then scp.  I've got 2
machines, client A and server B.  I'm using OpenSSH on both.  I've got a
port-forward from server B in client A's "~/.ssh/config" file.  Normally I
login to server B via ssh from client A.  With this session open (and a port
forwarded) sometimes I go to a different terminal on client A and attempt to
scp a file or two to server B.  However, I am unable to use scp _at_all_
because of scp attempting, and failing, to forward the same port that the
ssh connection already has open.

It seems to me that this is undesirable behavior...  Am I wrong?  If not,
I'll work on creating a bug item, etc, for this.  I'm hoping it's not
already known.  I've checked the FAQ which does not mention anything like
this.

I've installed openssh v2.3.0p1 on client A and am still seeing this
behavior.  Both machines are ix86 using the portable openssh.

Peter





More information about the openssh-unix-dev mailing list