Skip to content

Function: knownHostsFile() ​

ts
function knownHostsFile(path?): HostKeyVerifier;

Defined in: netconf/src/transport/host-keys.ts:132

Like knownHosts, reading the file at verification time. Default ~/.ssh/known_hosts.

Parameters ​

path? ​

string = ...

Returns ​

HostKeyVerifier

Released under the MIT Licence.