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

Advertisement

Ezz
Joined:
Posts:
1

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]
[color=brown][color=red]
# no need for confirmation prompts where we're going
option confirm off

# the script on errors
option batch on

# connect to server
open sftp://username:passwordB@secureconnect.rooster.nl
SessionOptions.SshHostKeyFingerprint ="ssh-rsa 2048 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

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

# good bye
bye



[/color][/color]

Reply with quote E-mail

Advertisement

Advertisement

You can post new topics in this forum