-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
still, the last part of each public key (i'm not sure if it is required or optional) is usually the user and host machine the key was generated on... but everything after the @ sign disappears with this patch.
i think it's optional.
appears so.
hopefully it's still a valid known_hosts file, despite that glitch.
i don't think so. it would be o.k. if there was nothing following the "=" sign.
from the sshd man page, section SSH_KNOWN_HOSTS FILE FORMAT:
Bits, exponent, and modulus are taken directly from the RSA host key; they can be obtained, e.g., from /etc/ssh/ssh_host_key.pub. The optional comment field continues to the end of the line, and is not used.
but i still don't really understand it.
after trying it out various ways(without the [EMAIL PROTECTED], with just root, with a several words of gibberish), i think everything following the = is basically treated as a comment, and is optional, as i was able to ssh with all sorts of random junk after it.
yes, i tried it like that, too.
but there's one difference. keys with and without "comment" are treated as different keys, so that you have to accept the "new" key.
sort of strange ...
cu wolfgang
- -- Public Key available at pgp keyservers, e.g. http://pgp.mit.edu Öffentlicher Schlüssel liegt u.a. auf http://blackhole.pca.dfn.de
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB44SWnlCf5+ELaesRAlsVAKCo8p+AQ8eTGypJh+q0hUCq+6iBXgCfc22r F7y06rxLcoUshZM1Ymq52e8= =q9qo -----END PGP SIGNATURE-----