[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#443056: openssh: ssh -w tunnel example

Package: openssh
Version: 4.3p2-9.1
Severity: wishlist

ssh(1) includes some documentation for ad-hoc ipsec vpn with ssh -w,
but refers to a script /etc/netstart.sh.  Apparently this is a
bsdism [0]; I think Debian's docs should include instead an example
that works for under its own OS.

For reference, I used the following command:
sudo env SSH_AUTH_SOCK=$SSH_AUTH_SOCK ssh -f -F `pwd`/.ssh/config -vw
0 root@xyz ifconfig tun0 pointopoint ; sudo
ifconfig tun0 pointopoint

The "env" and "pwd" bits are due to changing environment/home.  -w 0
might not be right (should be 0:0 or such).  Note the unfortunate
spelling of "pointopoint".


[0] http://www.openbsd.org./cgi-bin/man.cgi?query=netstart&sektion=8&manpath=OpenBSD+3.9

Reply to: