Topic "Connection with Wrong hostkey"

Author Message
[View user's profile]

Joined: 2012-05-02
Posts: 2
I Am using Winscp 4.3.9 for SFTP my files Using SSIS package.Its working fine.
we are using the following command to connect to winscp in my script

open s -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xX"

But recently for testing purpose i gave some wrong host key and also hostkey as empty.
I found even with wrong host key and empty hostkey , my scripts working fine..i can able to SFTP the files too.

Is that mean host key is not required for connection ?

can anyone help me?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
It is not required, if you have the correct host key fingerprint cached in registry already.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License