FTP JOB Failed : No known hosts provided - use SecureFTPConnection.KnownHosts to add some (safe), or set ServerValidation to None (unsafe).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2016 07:51 AM - edited 03-01-2019 09:23 AM
I have been trying to configure an SFTP job in Tidal but keep getting the error "FTP JOB Failed : No known hosts provided - use SecureFTPConnection.KnownHosts to add some (safe), or set ServerValidation to None (unsafe)." Other threads have mentioned changing the tagent.ini by adding SSLVLDCRT=n under the [config] section and recycling the service. What I haven not been able to find is what to do in order to add KnownHosts for SFTP jobs. The job is being created on a Windows install of Tidal. The Tidal agent is a 3.x version since as I understand the 2.x version didn't check for site keys. The FTP site is being logged into using user/password and not a key file.
I did find a PDF that indicates the following though it was for Unix. There didn't seem to be a matching Windows document with the same information. The assumption was the Tidal agent worked similarly.
.
-------------------------
SSHVLDHST=<location of SSH host key file> – For SFTP Host validation,
the location of the file containing the public Keys for the servers that SFTP
connections will be established with.
Provides a list of hosts and their associated public keys in the given file. The format
of the file is similar to that used in OpenSSH. Each line contains the name of a host
followed by its IP address (separated by a comma), the type of key it has, and its key
(in base‐64 printable form).
For example:
jackspc,192.168.1.1 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIE...
-------------------------
I tried updating the tagent.ini to look similar to the following. The values below are generic and not the actual values.
[config]
SSHVLDHST=C:\Keys\Know_Hosts.txt
[TIDAL_AGENT_1]
The key file had an entry similar to the this. The values are again generic and not the actual values. The first column is the ftp site with the IP address, second is the type of key and the last is the 64 bit encrypted key.
someftp.ftpsite.com,11.11.111.111 ssh-dsa VGVzdDEyMzQ1Njc4O........
However, running the SFTP job again produced the same result as if either the file was not being used or the entry was wrong. Even after recycling the Tidal agent.
Does anyone know how to configure the Tidal agent to use Known_Hosts for SFTP in a Windows environment?
- Labels:
-
Cisco Workload Automation
