cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8058
Views
14
Helpful
6
Replies

Error Message on SFTP get

Bill Slobodnik
Level 1
Level 1

          I am testing an SFTP get job to an external site, I get the following message;

FTP JOB Failed : No known hosts provided - use SecureFTPConnection.KnownHosts to add some (safe), or set ServerValidation to None (unsafe).

Is this referencing a file I need to add site info for?  What am I missing?

thanks

6 Replies 6

Michael Durette
Level 1
Level 1

Bill,

What are you running? 6.x or 5.3.1?

In 5.3.1, It looks like you are chosing the "Private Key File" option under the "Authentication Type". This is on the FTP tab. If your not doing SSH SFTP then you don't need this option. Best to use "User/Password"

But if you are doing SSH SFTP then you'll need to generate a key, point to your private key and send to the client your public key. It is almost the same concept as PGP, but at the SSH level. (i just went through this process and it was very painful. I needed to upgrade from 5.3.1.374 to 5.3.1.438 first and update our UNIX agent to

3.1.0.14 in order to get that to work.)

The example below is for User/Password option.

For the run tab, I use the following:

Agent (local host) = Our UNIX box agent. UNIX boxes have FTP services installed on them, talk to your admin to see if it is active and running.

Local User = nothing, blank

FTP Host = the site you are FTPing to like ftpsite.site.com:22  (the 22 or 21 port number is some times needed)

FTP User = the user id you'll log onto the ftpsite with. You'll need to create this user in your "Users" list as a runtime.

For the FTP tab:

Protocol = SFTP

FTP Operation = Get file

Format = ? depends on what you are getting, normally Binary

What is the filename you are picking up. you can even use vaiables. test.file.

New Filename = The name it will be on your server.

Local Path = Where you are puting the file on your server

Remote Path = Where the file is on the ftpsite

Then run. Hope this helps.

Mike

Bill Slobodnik