Let's assume the following hosts:
- localhost : my laptop
- remoteserver : a server with a public IP which runs a SSH server.
- private.remoteserver : a server with a private IP which is only accessible from remoteserver.
I don't have
sudo access to remoteserver, so I can't make changes with the root user.
The question is: Is it possible to access a port on private.remoteserver from remoteserver, in a single command?
I've played around a bit with ssh tunnels without luck. It would like to create an SSH alias to private.remoteserver as described in this article.
For example, I'd like to run from localhost:
to connect to port 8080 on private.remoteserver. Is this possible?