Bug 2083 - Add option to display VisualHostKey only when remote is not in known_hosts
Summary: Add option to display VisualHostKey only when remote is not in known_hosts
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 5.5p1
Hardware: ix86 Linux
: P5 trivial
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 11:07 AEDT by bugmenot
Modified: 2013-04-01 11:07 AEDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugmenot 2013-04-01 11:07:29 AEDT
The config option VisualHostKey=yes will display the ASCII art of the remote public key every time one connects to a remote host. 

However, it may be interesting to do this only when the remote host is *not* mentionned in known_hosts, just like fingerprints are displayed only for unknown hosts. 

A potential option would be: 
 VisualHostKey=unknown-hosts