Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Two ssh servers on one IP?
- Date: Wed, 1 Aug 2007 12:38:50 +0200
- From: David Santinoli <marauder@example.com>
- Subject: Re: [tlug] Two ssh servers on one IP?
- References: <46B04BBA.1040609@dcook.org>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Aug 01, 2007 at 06:00:42PM +0900, Darren Cook wrote: > I've a client with a firewall and two machines behind it, and I have > an ssh account on both, and both are assigned to the same IP but > different ports at the firewall. So I'd do: > ssh -p 1001 1.2.3.4 > ssh -p 1002 1.2.3.4 Set up two entries in .ssh/config: Host srv1 Hostname 1.2.3.4 Port 1001 HostKeyAlias srv1 Host srv2 Hostname 1.2.3.4 Port 1002 HostKeyAlias srv2 Then use the shortcuts "ssh srv1" or "ssh srv2" to connect. Cheers, David -- David Santinoli Tieffe Sistemi S.r.l. viale Piceno 21, Milano www.tieffesistemi.com tel. +39 02 45490882
- Follow-Ups:
- Re: [tlug] Two ssh servers on one IP?
- From: Darren Cook
- References:
- [tlug] Two ssh servers on one IP?
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Emergency nomikai August 17th?
- Next by Date: Re: [tlug] Emergency nomikai August 17th?
- Previous by thread: [tlug] Two ssh servers on one IP?
- Next by thread: Re: [tlug] Two ssh servers on one IP?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links