From owner-freebsd-questions Wed Jan 3 22:32:26 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 22:32:25 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 3DDA437B400 for ; Wed, 3 Jan 2001 22:32:25 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id 12A513E02; Wed, 3 Jan 2001 22:32:25 -0800 (PST) Received: from unixfreak.org (localhost [127.0.0.1]) by bazooka.unixfreak.org (Postfix) with ESMTP id 0C3163C10A; Wed, 3 Jan 2001 22:32:25 -0800 (PST) To: David Kelly Cc: freebsd-questions@freebsd.org Subject: Re: fingerprint of ssh host pubic key? In-Reply-To: Message from David Kelly of "Wed, 03 Jan 2001 23:52:22 CST." <200101040552.f045qMp18059@grumpy.dyndns.org> Date: Wed, 03 Jan 2001 22:32:20 -0800 From: Dima Dorfman Message-Id: <20010104063225.12A513E02@bazooka.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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