Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.security.ssh > #77

Re: ssh-keyscan output format lacks IP address, does not produce usable results

From dagon@dagon.net (Dagon)
Newsgroups comp.security.ssh
Subject Re: ssh-keyscan output format lacks IP address, does not produce usable results
Date 2011-05-05 09:12 -0700
Organization Dagon.net
Message-ID <mrua98-dgm.ln1@dagon.net> (permalink)
References <075d0a93-64bd-412e-9eeb-55161efa30ff@q21g2000vbs.googlegroups.com>

Show all headers | View raw


Nico Kadel-Garcia  <nkadel@gmail.com> wrote:
>It's trivial to use 'ssh-keyscan'' go get the hostkeys, but it's a bit
>awkward to stuff the IP addresses into them so that they're actually
>accepted as valid keys.

Huh?  the host key format has IP or hostname as the first thing in the line,
and that's what ssh-keyscan gives as well.

>Not having the IP address listed causes the
>keys to be ignore. I'm working with this squeeze release today:

>It's a few lines of perl or shell, and I'd written it in shell, but
>the "$" and "/" characters in the fingerprints is confounding my
>ordinary shell output, so I thought I'd ask if someone has a widget to
>do that.

If you want IP rather than name, you can use IP on the ssh-keyscan commandline
and it's stored that way.  Heck, if you want both, that works too:
  ssh-keyscan foop.dagon.net,127.0.0.1 
--
Mark Rafn    dagon@dagon.net    <http://www.dagon.net/>  

Back to comp.security.ssh | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ssh-keygen output format lacks IP address, does not produce usable results Nico Kadel-Garcia <nkadel@gmail.com> - 2011-05-04 19:44 -0700
  Re: ssh-keyscan output format lacks IP address, does not produce usable results dagon@dagon.net (Dagon) - 2011-05-05 09:12 -0700
    Re: ssh-keyscan output format lacks IP address, does not produce usable results Nico Kadel-Garcia <nkadel@gmail.com> - 2011-05-08 18:05 -0700

csiph-web