Using the Host declaration properly
- From: "runderwo@xxxxxxxxxxxx" <runderwo@xxxxxxxxxxxx>
- Date: 25 Jan 2007 11:56:16 -0800
I am trying to construct an ssh_config that behaves differently for:
- local network non-FQDN hosts
- local network FQDN hosts
- non-local (=> FQDN) hosts
So I have:
Host *
....local non-FQDN config...
Host *.icequake.net
....local FQDN config...
Host *.*
....non-local config...
But ssh seems to take "Host *" and run with it; it matches every host,
even if there is a more specific match elsewhere.
I could not find a way to specify a network in the usual notation, such
as Host 1.2.3.4/31, since this would be the optimal thing to do in this
case.
Any suggestions?
.
- Follow-Ups:
- Re: Using the Host declaration properly
- From: Darren Dunham
- Re: Using the Host declaration properly
- From: Darren Tucker
- Re: Using the Host declaration properly
- Prev by Date: Re: SSH for a standalone
- Next by Date: Re: Using the Host declaration properly
- Previous by thread: Re: sftp logging!
- Next by thread: Re: Using the Host declaration properly
- Index(es):
Relevant Pages
|
|