scp -L option

Hendrik Visage hvisage at is.co.za
Thu Oct 12 02:08:26 EST 2000


On Wed, Oct 11, 2000 at 05:57:18PM +0300, Pekka Savola wrote:
> On Wed, 11 Oct 2000, Hendrik Visage wrote:
> >  I have a need to have scp pass the -P option to ssh
> > to "bypass" the packetfilters that doesn't allow connections
> > to return to arbitary "priviledged" ports, ie. ports <1024.
> > 
> > See attached context sensitive diffs  against 2.2.0p1
> > to please integrate.
> 
> -P is already 'port' setting in scp (-p in ssh).

ssh -P is for anonymous port usage.
scp -L would then pass the -P option to ssh (ala commercial ssh)

> Rather, use "UsePrivilegedPort no" in ssh_config instead, or remove the
> setuid bit from ssh binary.

Thanx
Will follow up on the "UsePrivilegedPort no"

Comes the "trick" question: Why the "need" for a setuid ssh??

Greetz
Hendrik





More information about the openssh-unix-dev mailing list