Suppose that a Linux server A is in a local network with IP 192.168.0.90, and I have another Linux server B outside this local network, with IP 203.107.90.80. I want to get access to server A via ssh on server B. How can I do that?
I have tried reverse ssh tunneling following the instructions from this page http://www.howtoforge.com/reverse-ssh-tunneling, but when I tried to ssh to A on B it told me that the connection is closed by the remote host. I check the ssh_config and the ssh port is 22.