I have a server which has only access to the outer world via port 22 (for the use of ssh from the server to other computers).
I want to install some packages via apt-get on this server.
Can I achive this with a ssh-tunnel to my super-machine which has internet access on all ports?
If so, how? Because if I start a tunnel via ssh to my super-machine, the super-machine has its sshd waiting on port 22. I assume that I cannot reuse this same port 22 for the tunneling, can I?
Is there another solution?