Add a hostname/public key pair to the known hosts data.Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 184.108.40.206
Server public keys can also be maintained in their own key file and be used for server validation without adding them to the known_hosts file using this method. SSH public key files have two standard formats - OpenSSH and SECSH. Both these public key formats are supported. Formats can be recognized by their first line as shown below:
- OpenSSH (DSA) - OpenSSH format as a DSA public key. The first line begins with "ssh-dss AAAAB3NzaC1kc3MAA ...".
- OpenSSH (RSA) - OpenSSH format as a DSA public key. The first line begins with "ssh-rsa AAAAB3NzaC1yc2EAA ...".
- SECSH - SECSH format. The first line begins with "---- BEGIN SSH2 PUBLIC KEY ----"