Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2001 22:32:20 -0800
From:      Dima Dorfman <dima@unixfreak.org>
To:        David Kelly <dkelly@HiWAAY.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fingerprint of ssh host pubic key? 
Message-ID:  <20010104063225.12A513E02@bazooka.unixfreak.org>
In-Reply-To: Message from David Kelly <dkelly@HiWAAY.net>  of "Wed, 03 Jan 2001 23:52:22 CST." <200101040552.f045qMp18059@grumpy.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> When connecting via ssh to a host for the first time, ssh has the gaul
> to ask me if an "RSA key fingerprint ..." is correct. Well, duh, how am
> I supposed to know? I think I'm connecting to my own machine. Just how
> might I determine the fingerprint in advance?

`ssh-keygen -lf /etc/ssh/ssh_host_key.pub` will produce something like:

1024 6f:79:c5:5a:2f:72:5b:ef:a5:fe:b4:e9:59:43:41:80 root@hornet.unixfreak.org

The second word is what the ssh client displays when you first connect
to somthing.  Obviously, the above command assumes that your ssh host
key lives in /etc/ssh (which is the default).

					Dima Dorfman
					dima@unixfreak.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010104063225.12A513E02>