0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PuttyからWinSCPにインポートしたサイトの初回接続で「ホスト鍵が一致しない」エラーが出る場合の対応方法

Last updated at Posted at 2019-10-02

WinSCPには、PuttyまたはFileZillaからサイトをインポートする機能があります。
image.png

Puttyのサイトを選択して取り込み可能です。
aaaaa.png

ところが、インポート後の初回接続で ホスト鍵が設定された鍵 "xxxxxxxxxx" と一致しません! ホストの認証鍵は xxxxxxxxxx です。認証に失敗 というエラーになる場合があります。
image.png

この場合、インポートした設定をあれこれ変えてしまいがちですが、一度WinSCPを終了し、再度起動するだけで接続できるようになります。

image.png
正常に接続できる場合。マスクしてありますが表示されている鍵はエラー画面のものと同じです...

このエラーは WinSCP 5.9.4で確認しました。インポート直後の鍵の処理に問題あるのかと思いますが、対応としてはWinSCPを最新版(2019/10/01 時点で 5.15.4)にしても発生しないので、可能な限り最新版に更新するようにしましょう。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?