[wellylug] ssh Ok not scp

JP jumbophut at yahoo.co.in
Wed Apr 28 16:05:21 NZST 2004


 --- "E.Chalaron" wrote: 

> I have an odd thing here (maybe not)
> A ssh connection has been established between 2
> machines over internet.
> locally (LAN) SSH and SCP are working fine.
> Trying to scp through internet does not work.
> 
It's a bit risky, but would this work?

On BOTH machines:

iptables-save tmp
iptables -F # only if the last command worked!!!
scp ...
iptables-restore tmp

Of course if you are using iptables to masquerade, you
might not want to flush all rules.

At the very least, trying this would narrow the
problem down to ssh/scp rather than your
network/firewall arrangements.

Cheers
Tony

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/




More information about the wellylug mailing list