Topic "StrictHostKeyChecking"

Author Message
Dawei

Guest


How / where can I put the StrictHostKeyChecking=no in the .ini file. I'm using winSCP 3.8.0 (build 312).
I need this as the server i try to connect to is in a cluster and every machine has its own hostkey. Hope to hear from anyone.

Cheers,

David
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
It does not make sense to store the option into an INI file as it can be changed by the user. Also I do not understand what it has to do with cluster.
_________________
Martin Prikryl
Guest




it has to the following with a cluster. Let me explain it:
in winscp i connect to serverx.domain.com but the cluster switches to serverx-1.domain.com and serverx-2.domain.com I don't know which server i connect to so the hostkey will not work. Because the domain name is always the same serverx.domain.com but the hostkey is always different.
I put in the ini file StrictHostKeyChecking=no and it now seemed to work.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Then you can stop using SSH altogether. You lose most of its security.
_________________
Martin Prikryl
Guest




Ok, but the server on the other site only accepts scp so there is no choice for me.
Guest




I recently had this problem too. Just set the SSH Host keys on all systems in the cluster to the same key if possible. You lose a little security, but hosts in a clusters are supposed to be the same anyways.

Dawei wrote:
How / where can I put the StrictHostKeyChecking=no in the .ini file. I'm using winSCP 3.8.0 (build 312).
I need this as the server i try to connect to is in a cluster and every machine has its own hostkey. Hope to hear from anyone.

Cheers,

David
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