/** * Sets the path to the file that has the identities of * all known hosts. This is used by SSH protocol to validate * the identity of the host. The default is * <i>${user.home}/.ssh/known_hosts</i>. * * @param knownHosts a path to the known hosts file. */ public void setKnownhosts(String knownHosts) { this.knownHosts = knownHosts; super.setKnownhosts(knownHosts); }