Topic "host key not found"

Author Message
cru

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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"

Quote:
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:
http://winscp.net/eng/docs/message_host_key
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License