host key not found

Advertisement

cru
Guest

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

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

Reply with quote

Advertisement

You can post new topics in this forum