If I compile ssh-keyscan without support for ssh1 (per default), and then have it scan a large network for rsa1 keys, it fails with the following fatal error: conread: invalid status 3 The "3" corresponds to CS_KEYS, which is handled correctly in the function if WITH_SSH1 is #defined. It appears to be an oversight that CS_KEYS is treated as an "invalid status" when ssh1 support is absent (or that CS_KEYS even comes up as a status in the first place in that circumstance). A build of ssh-keyscan without ssh1 support should either fail immediately if asked to scan for ssh1 keys (as presumably it can't process those keys anyway), or at least not error out spuriously like this.
Thanks, I've committed a fix that bans RSA1 keys where they are supposed to be banned: [djm@haru ssh]$ ssh-keyscan -t rsa1 127.0.0.1 Unknown key type "rsa1"
Close all resolved bugs after release of OpenSSH 7.7.