Topic "Automatically accept the host key?"

Author Message
guest

Guest


I'm attempting to use WinSCP in a script to upload a file to a newly created Linux server. Since it's a fresh install, I don't know what it's host key is. Is there any way that I can bypass the key dialog and automatically accept whatever key is supplied? I realize that this is very insecure, but the risk is very low considering what I'm doing. Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
guest wrote:
Is there any way that I can bypass the key dialog and automatically accept whatever key is supplied?

No. But you can accept certain key. See documentation.
_________________
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