Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Error by runnen from the Task Scheduler [Host key wasn't verified!]

[size=18]Hi All,

I am facing a problem with my script. I am running the below script from the Task Scheduler of windows and getting the following error:[/size]
[color=red](Exception) **Host key wasn't verified!**
Closing connection.
Sending special code: 12[/color]
# no need for confirmation prompts where we're going
option confirm off

# the script on errors
option batch on

# connect to server
open s
SessionOptions.SshHostKeyFingerprint ="ssh-rsa 2048 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# download all schedule files
get /outgoing/file/file*.csv C:\import\ -delete

# good bye