Re: workarounds for Host param not canonicalizing?

From: Ryan Barrett (secureshell_at_ryanb.org)
Date: 05/22/05

  • Next message: Darren Tucker: "Re: OpenSSH & ChRoot"
    Date: Sun, 22 May 2005 02:10:43 -0700 (PDT)
    To: Alexander Klimov <alserkli@inbox.ru>
    
    

    On Sun, 22 May 2005, Alexander Klimov wrote:

    > so you CAN use `Host *.foo.com'

    that only works if you type the fully qualified name on the command line.
    from your man page quote:

    > 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).

    if you ssh between machines often, and your domain name is long, e.g.
    *.research.foobar.com, you won't want to type it out every time. you can,
    but usability-wise, it's not much of a win.

    -Ryan

    --
    http://ryan.barrett.name/
    

  • Next message: Darren Tucker: "Re: OpenSSH & ChRoot"

    Relevant Pages

    • Re: For Loops and Space in Names, take 2
      ... But you probably should quote $1 because of this: ... Probably leaked from the mv command you're printing. ... knowledge of the shell. ... You could use it to generate your mv commands with echo ...
      (Fedora)
    • Re: Opening Dual WIndows in Batch FIle
      ... Despite the availability of spelling-checkers and syntax-analysers, the documentation contains such blunders as "hexidecimal" and displays a confusion about the use of singlar and plural. ... I've tried to analyse the syntax for the START command, and I'll admit that I've only tried unquoted and quoted strings - no unbalanced-quotes, embedded quotes or alternative separators like semicolons or tabs. ... 3b If the second argument IS quoted then an attempt will be made to execute that part of the command-line AFTER the opening quote of the second argument UP TO the final quote on the line, with parameterof the remainder of the line after the separator following the opening quote of the second argument MINUS the final quote on the line. ...
      (microsoft.public.win2000.cmdprompt.admin)
    • Re: Sophisticated(!) copying in DOS
      ... misplaced (first a colon, then a double quote), and then ... you say that this was not the real command anyway. ... The .bmp attempt was to test if the exclude command was working, ... > Windows rather than the traditional DOS-tastic 8 character path name. ...
      (microsoft.public.windowsxp.general)
    • Re: join strips backslash - feature or bug?
      ... routine that relies on the string representation for accurate ... Specifically it doesn't honor rule 1 (; ... valid in tcl but is very hard to call, making quote the command ... seasoned tclers often recommend to quote ...
      (comp.lang.tcl)
    • Re: Bad TRAP occurred in module "ufs" due to a NULL pointer dereference
      ... Obviously Sun noticed our problem now and there is a Sun Alert ... > Solaris 8 actual recommended patch cluster installed. ... > to an NFS mounted partition of the server with command mv. ...
      (comp.unix.solaris)