[p4] client on secured network
Jeff With The Big Yellow Suit
jeff at drinktomi.com
Mon Jun 26 09:07:08 PDT 2006
>Does any of you p4 experts know a way I can continue to use p4 from
the
> office under the circumstances? Can I get the client to use http
> tunneling or something like that? (The documentation regarding ssh
> tunneling seems to focus on the situation where the *server* is on a
> secure network, which is not the issue here.)
The syntax is a little clunky, but ssh will do what you want.
PORT=1666
SERVER=200.220.18.7
USER=joe
ssh -L ${PORT}:localhost:${PORT} ${USER}@${SERVER}
Then point your p4 client to localhost:${PORT}. The local
port ${PORT} will be forwarded to the port localhost:${PORT}
on the machine ${SERVER}.
As long as the SSH connection stays active the tunnel will be up.
-jeff
More information about the perforce-user
mailing list