Two ssh servers on the same ip
Cody Somerville
cody.somerville at gmail.com
Sat Dec 9 21:46:33 UTC 2006
Andrew could forward port xyz to box1 and port yzx to box2. However, you can
not forward one port to two different computers unless you used some sort of
virtual host system at the router (and most routers don't have that) that
would know what machine to forward to by the domain name used to connect.
- Cody
On 12/9/06, R. Wood <au516 at freenet.carleton.ca> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Allegedly, on Sat, Dec 09, 2006 at 05:19:26PM -0400, Cody Somerville
> stated:
> > On 12/9/06, Andrew Hunter wrote:
> > > On Saturday 09 December 2006 13:36, Andrew Hunter wrote:
> > > > Hello,
> > > >
> > > > Would anyone be able to tell me how to run two ssh servers on the
> > > > same network with the same external ip?
> > > >
> > > > I know how to do the dns forwarding, but am confused on how to
> > > > route the traffic to the correct machine once it is inside the
> > > > intranet.
> [snip]
> > >
> > > I also need to run this as a remote desktop, if that makes a
> > > difference.
> >
> > You could try running the ssh servers on different ports.
> >
> > Thanks,
> > Cody
>
> I'm not sure that would work if Andrew is using NAT and wants to connect
> directly to 2 different boxen.
>
> I saw an article on doing this once, but I didn't archive the URL...
>
> Have Fun with GNU/Linux,
> Raymond
> - --
> "Be Nice, or Leave - By Order of the Management"
> (Sign above door, Black Sheep Inn, Wakefield)
> GPG Fingerprint: 2E4D 8605 DD48 E80F F893 1C02 B65D 86D9 3B3C 0E03
> Encrypted E-mail Preferred | http://www.yeeguy.com/freefall/
> Bush-whacked 2004! Try to relax and enjoy the Chaos :-) --^
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFFeysKtl2G2Ts8DgMRAj7xAJ0ewN0s/OBRfGaVEziI511zFedW7ACfQHcv
> 4/Xd4TvNcHDqAgqqILufnT4=
> =tCJg
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-ca mailing list
> ubuntu-ca at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>
--
Firefox (www.getfirefox.com) -- A browser you can trust
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20061209/971e844b/attachment.html>
More information about the ubuntu-ca
mailing list