[Openswan Users] scp over an openswan tunnel hangs

Paul Wouters paul at xelerance.com
Wed Jun 30 14:56:21 CEST 2004


On Wed, 30 Jun 2004, Graham Leggett wrote:

> I cannot use scp to transfer files from box A to box B. Boxes A and B 
> are connected via a openswan tunnel.
> 
> [root at rachel certs]# scp 
> root at chandler:/etc/postfix/certs/smtp.test.co.za-host* .
> root at chandler's password:
> smtp.test.co.za-hostCert.pem                   0%    0     0.0KB/s 
> --:-- ETA
> 
> The transfer hangs at this point, having transferred 0 bytes.
> 
> I have a feeling it is due to the back channel that scp is trying to 
> create to connect to box B - anyone know what needs to be done to make 
> scp work?

My experience is that ssh/scp hangs are normally due to mtu problems. Or
rather, changing the mtu fixes whatever the problem is. Try setting an
mtu of 1400 on your ethernet device.

Paul



More information about the Users mailing list