Tuesday, March 8, 2016

Reverse SSH


In /etc/ssh/sshd for Computer B set:

AllowTcpForwarding yes
TCPKeepAlive yes

From Computer A:
$ ssh -R 2222:localhost:22 ip.of.computer.b

From Computer B:
$ ssh localhost -p 2222

No comments:

Blog Archive