gpt4 book ai didi

windows - 通过批处理文件脚本,主机 key 与WinSCP中的缓存 key 不匹配

转载 作者:行者123 更新时间:2023-12-02 14:29:56 28 4
gpt4 key购买 nike

当我尝试使用WinSCP通过某些批处理脚本从其他服务器连接服务器时。

但是,当我看到错误日志时,发现以下消息。

The server's host key does not match the one WinSCP has in cache. This means that either the server administrator has changed the host key, the server presents different key under certain circumstance, or you have actually connected to another computer pretending to be the server.



您能否检查一下为什么我得到此错误,所以请逐步解决此问题。

谢谢,
文卡特什

最佳答案

引用WinSCP documentation:

Warning - Potential security breach!

This message, followed by “Theserver’s host key does not match the one WinSCP has in cache”, meansthat WinSCP has connected to the SSH server before, knows what itshost key should be, but has found a different one.

This may mean that a malicious attacker has replaced your server witha different one, or has redirected your network connection to theirown machine. On the other hand, it may simply mean that theadministrator of your server has accidentally changed the key whileupgrading the SSH software; this shouldn’t happen but it isunfortunately possible. Another legitimate reason for the host keychange is that the address, you are connecting to, load balances to aset of SSH servers. ...

You should contact your server’s administrator and see whether theyexpect the host key to have changed. If so, verify the new host key inthe same way as you would if it was new.

Read more about verifying host keys.



另请参见 Verifying the host key or certificate in script

关于windows - 通过批处理文件脚本,主机 key 与WinSCP中的缓存 key 不匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51627725/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com