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 20:10:13 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] Two ssh servers on one IP?
- References: <46B04BBA.1040609@dcook.org>
On 01/08/07, Darren Cook <darren@example.com> wrote: > Is my only option to edit known_hosts each time I want to switch the > server I log in to? (or log in to one, then log in to the other using > the private IP address) Nope; ssh has you covered. You need to drop something like this into your ${HOME}/.ssh/config: Host one-oh-oh-one HostKeyAlias one-oh-oh-one HostKeyAlgorithms ssh-dss HostName 1.2.3.4 Port 1001 Host one-oh-oh-two HostKeyAlias one-oh-oh-two HostKeyAlgorithms ssh-dss HostName 1.2.3.4 Port 1002 SSH_CONFIG(5) has more info, but you knew that. ;) -- Cheers, Josh
- 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] [OT] Good IT Resume
- Previous by thread: Re: [tlug] Two ssh servers on one IP?
- Next by thread: Re: Two ssh servers on one IP?: Access by different names . . . . . [tlug]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links