I have a machine listening for ssh connections within a university network. The way that they've configured the network is such that each building is assigned a single external IP. I have no ability to change network infrastructure. Supposing that I know the current non-static internal IP of the machine that I want to access as well as it's external IP, how can I make the connection from the outside (assuming there is no interference from any sort of firewall)?
closed as off topic by EEAA, Ward, mdpc, sysadmin1138♦ Nov 8 '11 at 20:25
Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
You have to do one of two things, and they both require a third machine with a public IP address running software you control:
1) Setup a VPN between that machine and some external machine with a public IP. Connect into that VPN and use it to access the machine.
2) Have that machine connect out to a third machine that operates as a proxy. Connect to the third machine, have it and the machine you are connecting to cooperate to attach an outbound connection from that machine to your outbound connection to the third machine and proxy that to an inbound 'loopback' connection to the machine's SSH client.
Here's a more detailed explanation of how method 2 works.