is this virtual hosting?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have one server machine that has a one static IP and is accessible
via the internet. I can ssh to this server. I also have several
machines on an internal network that are accessible through this
server. Some of my users own dedicated machines on the internal
network which they need to access via the internet. I'd like to set it
up so that when they ssh to the server, they automatically connect to
the machine which they own. For example when somebody does:


I want them to be connected to user1's machine on the internal
network. I have Linux RH 8.0 on all the machines.

How can I set this up?


Re: is this virtual hosting? (Kevin VW) writes:
Quoted text here. Click to load it

One way: set it up so that user1 has to connect to Port1, which if
forwarded to Host1; user2 -> Port2 -> Host2; etc.

Another way, as the user's shell have /usr/local/bin/, and
in that file do a "exec ssh user1_host". Then setup passwordless
entry to that host. This way a user only enters a password once, and
then it connected right away to the next host.

I'm sure there are others.

David Magda <dmagda at>, /
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI

Site Timeline