How to make winscp automatically accept server host key

Advertisement

callmedigger
Guest

How to make winscp automatically accept server host key

Hi all
I'm in a test environment and know and understand the risks
It's just for convenience
I am using WinSCP of GUI interface, version: 5.17.9
I think this version is lastversion

The problem is that when the host secret key of the server is inconsistent with the secret key in the winscp cache, I have to click the update button. What can I do to make it automatically update by default.

I didn't find winscp in the relevant settings can be set
I've been searching for solutions that I haven't found for a long time,
like
https://winscp.net/forum/viewtopic.php?t=14202
https://winscp.net/eng/docs/library_sessionoptions
https://winscp.net/eng/docs/faq_hostkey#automation

Thanks all

winscp.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,262
Location:
Prague, Czechia

Re: How to make winscp automatically accept server host key

WinSCP GUI does not have such option. You always have to confirm the new hostkey manually.

Reply with quote

digger
Joined:
Posts:
1
Location:
Beijing

Re: How to make winscp automatically accept server host key

Can I change the configuration file or windows registry file to achieve this function

Reply with quote

martin
Site Admin
martin avatar

Re: How to make winscp automatically accept server host key

Yes, you can import the key to the registry/storage upfront.

Reply with quote

Advertisement

You can post new topics in this forum