From: p...@hedeland.org (Per Hedeland)
Date: Thu, 8 Jul 2004 22:00:15 +0000 (UTC)
Local: Thurs, Jul 8 2004 6:00 pm
Subject: Re: SSH connections to two hosts with the same IP address
In article <pan.2004.07.08.14.52.36.786...@nowhere.net> "J. Smith"
<jsm...@nowhere.net> writes:Assuming OpenSSH, yes - put this in ~/.ssh/config (see 'man ssh_config'):
> I have two boxes that I can reach remotely using the same IP address. The
>machines are behind a firewall, which maps the connections on a per port
> On machine A the ssh daemon listens for incoming connections at the
> ssh MyIPAddress
>grants me access to machine A all right (assuming that the public key and
> ssh -p 100 MyIPAddress
>to give me access to my machine B. However, the ssh infrastructure
> Is there a (simple) way to get ssh to understand that there are two
Now you can just 'ssh machineA' or 'ssh machineB' (don't even need to
Btw, there seems to be a minor bug with this functionality (at least in
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.