Server´s host key is invalid

Advertisement

James_87
Joined:
Posts:
5
Location:
Spain

Server´s host key is invalid

Cannot connect to a server by SFTP. WinSCP shows the following error:
Server's host key is invalid
How can I solve the issue? I try to connect to another server and works correctly
I´m using WinSCP GUI version 5.17.10 over Windows 10 Pro

WinSCP_Error.PNG

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: Server´s host key is invalid

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

martin
Site Admin
martin avatar

Re: Server´s host key is invalid

Can you login with any other SSH/SFTP client? If you can, please post its verbose log file.

Reply with quote

James_87
Joined:
Posts:
5
Location:
Spain

Re: Server´s host key is invalid

Attached is the log file from a succesful SSH/SFTP session
  • SBC-CPD1.log (8.25 KB, Private file)

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Server´s host key is invalid

How's that relevant? I did ask you, "if can you login with any other SSH/SFTP client"? Not to any other SSH/SFTP server.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Server´s host key is invalid

So then please contact your server administrator. This is not a WinSCP issue, but a problem with your server.

Reply with quote

Advertisement

You can post new topics in this forum