Post a reply

Options
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)

Options

Topic review

martin

Re: host key not found

cru wrote:

winscp.com /console /log /command "option batch abort" open user:user@xxx.xx.xx.xx get e:\*.txt \E:\home

First, this should be:
winscp.com /console /log /command "option batch abort" "open user:user@xxx.xx.xx.xx" "get e:\*.txt \E:\home"

I gerenerated public and private keys using puttygen. But that format of jhost key is not in xx:xx:xx.... and it is not working.

This is your account key. The prompt is about host key.
Please read:
https://winscp.net/eng/docs/message_host_key
cru

host key not found

I give below command

winscp.com /console /log /command "option batch abort" open user:user@xxx.xx.xx.xx get e:\*.txt \E:\home

It gives host key not found. How to get the host key. I gerenerated public and private keys using puttygen. But that format of jhost key is not in xx:xx:xx.... and it is not working.