On Wed, Apr 27, 2022 at 03:09:12PM -0600, Megan Batty wrote: > I was working on an external parser for known_hosts files and found this > line in the sshd(8) man page that didn't match the format description > above and wasn't sure how to deal with it. After briefly discussing with > Bob Beck, I realized that it's the obsolete rsa1 format key that appears > to be no longer supported by openssh. > > This patch simply removes the offending line, making the example > consistent with the text description of the format. It doesn't seem like > other man pages reference the old-style keys, so it doesn't seem > necessary to include a warning here either. > > (this is my first patch submission to openbsd, so hopefully I've done it > in an acceptable way!) >
fixed thanks! jmc > diff --git usr.bin/ssh/sshd.8 usr.bin/ssh/sshd.8 > index 49489753ff7..a99cdfed6ce 100644 > --- usr.bin/ssh/sshd.8 > +++ usr.bin/ssh/sshd.8 > @@ -785,7 +785,6 @@ names to their hashed representations. > An example ssh_known_hosts file: > .Bd -literal -offset 3n > # Comments allowed at start of line > -closenet,...,192.0.2.53 1024 37 159...93 closenet.example.net > cvs.example.net,192.0.2.10 ssh-rsa AAAA1234.....= > # A hashed hostname > |1|JfKTdBh7rNbXkVAQCRp4OQoPfmI=|USECr3SWf1JUPsms5AqfD5QfxkM= ssh-rsa >
