[Pkg-samba-maint] r1155 - trunk
Julien Cristau
julien.cristau at ens-lyon.org
Wed Sep 13 00:41:14 UTC 2006
On Tue, Sep 12, 2006 at 17:25:10 -0700, Steve Langasek wrote:
> On Tue, Sep 12, 2006 at 04:00:08PM -0400, Eloy Paris wrote:
>
> > peloy at canaima[0]:~$ ssh costa.debian.org
> > The authenticity of host 'costa.debian.org (217.196.43.131)' can't be established.
> > RSA key fingerprint is c3:48:34:26:57:a9:4c:78:c3:dc:d3:07:28:e9:66:36.
> > Are you sure you want to continue connecting (yes/no)? no
> > Host key verification failed.
> > peloy at canaima[0]:~$
>
> I don't know a trivial way to retrieve the fingerprint of an ssh key, but
> here is the full public ssh key of costa as extractedd from my
> .ssh/known_hosts.
>
> svn.debian.org,costa,217.196.43.131 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA5ZivBizVqvfdMbJRPJsBmXHlGcoAL4joIp65fbJGW5mw9yMX/Gj7jlA+jvALATIbp/ncAqEW9z9bkxImgsAtK41Z8mV4ypFiKbnqGYjz860vFOtR2hwnaBueFERQkDTRgVGJvTFQXvCY6vphTMnO9D620EfK2aykhzpVhetjjU0=
>
ssh-keygen can generate the fingerprint for a given public key:
jcristau-guest at costa:~$ cat /etc/ssh/ssh_host_rsa_key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA5ZivBizVqvfdMbJRPJsBmXHlGcoAL4joIp65fbJGW5mw9yMX/Gj7jlA+jvALATIbp/ncAqEW9z9bkxImgsAtK41Z8mV4ypFiKbnqGYjz860vFOtR2hwnaBueFERQkDTRgVGJvTFQXvCY6vphTMnO9D620EfK2aykhzpVhetjjU0= root@(none)
jcristau-guest at costa:~$ ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
1024 c3:48:34:26:57:a9:4c:78:c3:dc:d3:07:28:e9:66:36 /etc/ssh/ssh_host_rsa_key.pub
Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20060913/edee08b3/attachment.pgp
More information about the Pkg-samba-maint
mailing list