Hi, as discussed on http://bugs.debian.org/511120, the VisualHostKey feature will cause visual host keys appear even in the output of automated scripts, e.g. backup scripts, where there is little gain and only inconvenience (or breakage). A possible remedy could be to show the VisualHostKey only when attached to a terminal, and otherwise not. Thanks Joachim
Created attachment 2048 [details] /home/djm/bz1870.diff silence VisualHostKey for non-interactive && non-ttyful connections
Does this patch work for you?
Retarget unresolved bugs/features to 6.0 release
Retarget unresolved bugs/features to 6.0 release (try again - bugzilla's "change several" isn't)
Retarget from 6.0 to 6.1
Retarget 6.0 => 6.1
Retarget uncompleted bugs from 6.1 => 6.2
Retarget bugs from 6.1 => 6.2
2nd thought. Rather than depending on a terminal maybe it should check options.batch_mode?
retarget to openssh-6.3
Retarget to openssh-6.4
Retarget 6.3 -> 6.4
Removing target until OP shows up to test the patch.
Sorry, for some reason I missed the request to test a patch. I haven’t build openssh before, so I’d first have to look into that. Not sure when I’ll get to that (since a while I simply disabled VisualHostKeys, due to the issue, so the itch is not so itchy any more). The patch looks good, though, thanks!