sean:
el método sería:
ssh -R 12345:localhost:22 usuario_B@B
ssh reverseBHost reverseB
HostName B
User usuario_B
RemoteForward 12345 localhost:22
IdentityFile ~/.ssh/usuario_B@B
ssh usuario_B@B
ssh -p 12345 usuario_A@localhost
ssh test2-reverseHost test2-reverse
Hostname localhost
User usuario_A
ProxyCommand ssh computerB -W %h:12345
ForwardAgent yes
IdentityFile ~/.ssh/usuario_A@A
Host computerB
Hostname B
User usuario_B
RemoteForward 12345 localhost:22
IdentityFile ~/.ssh/usuario_B@B
nohup ssh -N -f -R 12345:localhost:22 usuario_B@B para que quede la conexión «activa» aunque haga logoutnmap -p 12340-12350 -sV @B no hay puertos en usosean:
método:
GatewayPorts clientspecified
service ssh reload
ssh -N -f -R B:6677:localhost:80 user@B
http://<B>:6677