Host 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