[darcs-users] Problem with push

Ralph Corderoy ralph at inputplus.co.uk
Wed Nov 10 12:50:51 UTC 2004


Hi Bene,

> How can I use darcs push / pull commands over ssh to a computer which
> is hidden behind another computer.

Perhaps ssh's port-forwarding can help.

    ssh -f -N -L 20022:192.168.2.40:22 contact.com

Given the local machine, `contact.com', the middle one, and the
hidden machine with IP address 192.168.2.40 when looking from
contact.com the above command will forward connections to local's port
20022 to hidden's port 22, i.e. where sshd is listening.

Cheers,


Ralph.





More information about the darcs-users mailing list