search for: ssh_known_keys

Displaying 1 result from an estimated 1 matches for "ssh_known_keys".

2000 Apr 11
0
DNS lookup
...started working with openssh I recognised that openssh stores a hostkey twice if one uses the full hostname and later on only the machine name (for a local machine). for example if one calls: ssh jhunix and later session starts with: ssh jhunix.jhu.edu openssh stores two times the same key in the ssh_known_keys file. Is this intended? If so, why? After looking through the code I found this function call in ssh.c: /* Find canonic host name. */ if (strchr(host, '.') == 0) { struct addrinfo hints; struct addrinfo *ai = NULL; int errgai; memset(&hints, 0, sizeof(hints)); hints.ai_f...