Re: Host Key uniqueness

From: Neil W Rickert (rickert+nn_at_cs.niu.edu)
Date: 03/26/04


Date: Fri, 26 Mar 2004 05:37:33 GMT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=?ISO-8859-1?Q?Jos=E9?= Arango <arango@caribe.net> writes:

>I'm learning about ssh. I still don't have clear the host key technique. I
>know its purpose. I just would like to know what prevents server YYY from
>taking server XXX's host key...so that when server YYY tries to impersonats
>XXX server...all of its (ssh-client) users would connect to YYY without
>noticing that in fact is another server.

Hopefully, YYY cannot get to XXX's host key. It would need both the
private key and the public key. Although the public key is readily
available, it should be impossible to get the private key unless
there is a way of gaining root access on XXX.

>Another example, If I connect to server XXX, I'll have the server host key
>in my .ssh directory. Can I just take that key and configure my SSHD so it
>will use that key as my host key?

You only have the public key. You would also need the corresponding
private key to make this work.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (SunOS)

iD8DBQFAY8J2vmGe70vHPUMRArsNAJ9lNYl4lUsK/c+FIynV/Pg4iLX5VgCg/CPP
TzkNAaTXJycnuqPPLd3rmnE=
=XQrF
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: TIPS FOR THE NEWCOMER
    ... As long as the private key is readable by the ssh client when it comes ... When the ssh client connects to the server, ... private key which matches the public key. ...
    (SSH)
  • Re: applet file output
    ... Authentication is how the web server knows that ... > it is supposed to allow the applet to write the data. ... > has a distinct private key locally on their machine and the server has ... public key and hard code it into the applet. ...
    (comp.lang.java.programmer)
  • gdm hangs
    ... gdm will hang 9 of 10 times when logging out. ... with or without the client having been connected to the Server. ... # Timed login, useful for kiosks. ... Must output the chosen host on stdout, ...
    (Debian-User)
  • help desperately needed for using PuTTY
    ... I saved the private key in my pc and pasted the ... Server refused our key ... Various forms of this error are printed in the PuTTY window, ... If you see one of these messages, it means that PuTTY has sent a public key ...
    (comp.security.ssh)
  • Re: Debian SSH server configuration
    ... I would like to configure a Debian server to only allow clients to ssh ... I don't want any client computers to be able to ssh into ... It sounds like what you are asking for is host based authentication, ... where the server check to make sure that it has the host public key ...
    (Debian-User)