ssh tunnel
I've read every document I can find, but I can't get this to work.
I've got:
Box A (111.111.111.111): running a perforce server listening on port 4444
Box B (222.222.222.222): a perforce client using port 1666
I ssh into B and I want run p4 commands through an ssh tunnel to box A.
On B, I enter:
ssh -i somekey -L 1666:111.111.111.111:4444 myuser@111.111.111.111 -N -f
then on B, I run p4 commands:
p4
I get this error after a long while:
channel 2: open failed: connect failed: Connection timed out
I can get box B to run p4 commands on A if I just set the P4PORT=111.111.111.111:4444 but that doesn't go through a secure ssh tunnel...
What am I missing?
|
Recent comments
1 day 12 hours ago
1 day 15 hours ago
2 days 3 hours ago
2 days 5 hours ago
2 days 9 hours ago
2 days 16 hours ago
3 days 1 hour ago
3 days 3 hours ago
3 days 11 hours ago
3 days 12 hours ago