Page MenuHomePhabricator

When ~/.ssh/known_hosts is removed, I still get SSH_KNOWN_HOSTS_UNKNOWN, not SSH_KNOWN_HOSTS_NOT_FOUND
Closed, ResolvedPublic


The comment for SSH_KNOWN_HOSTS_NOT_FOUND in include/libssh/libssh.h and in says:

SSH_KNOWN_HOSTS_NOT_FOUND: The known host file does not exist. The host is thus unknown. File will be created if host key is accepted.

However, when I remove my ~/.ssh/known_hosts, I still get SSH_KNOWN_HOSTS_UNKNOWN from ssh_session_has_known_hosts_entry, not SSH_KNOWN_HOSTS_NOT_FOUND.

Revisions and Commits