Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: workarounds for Host param not canonicalizing? |
|---|---|
| Date: | Sun, 22 May 2005 11:25:48 +0300 (IDT) |
On Fri, 20 May 2005, Ryan Barrett wrote:
hi all. the Host parameter in ssh_config matches against the hostname typed on the command line, as opposed to the canonicalized host name. this is to prevent DNS spoofing attacks, which is a Good Thing... ...but it does hurt usability if you routinely ssh to lots of machines. instead of "Host *.foo.com", you have to use "Host abc def ghi ...". needless to say, this is error-prone and hard to maintain.
Could you elaborate on the problem. From man ssh_config:
Host Restricts the following declarations (up to the next
Host keyword) to be only for those hosts that match
one of the patterns given after the keyword. Asterisk
(*) and question mark (?) can be used as wildcards in
the patterns. A single * as a pattern can be used to
provide global defaults for all hosts. The host is the
hostname argument given on the command line (that is,
the name is not converted to a canonicalized host name
before matching).
so you CAN use `Host *.foo.com'
--
Regards,
ASK
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | SCP fails with publickey, Hicks,Rodger |
|---|---|
| Next by Date: | Re: workarounds for Host param not canonicalizing?, Ryan Barrett |
| Previous by Thread: | workarounds for Host param not canonicalizing?, Ryan Barrett |
| Next by Thread: | Re: workarounds for Host param not canonicalizing?, Ryan Barrett |
| Indexes: | [Date] [Thread] [Top] [All Lists] |