0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VMを作り直したらなんかつながらなくなったとき

Posted at

VM作り直したらなんかつながらなくなったとき

設定同じだから大丈夫やろ、と思ったらつながらなくなったとき確認すること。

[22:43:25.767] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[22:43:26.169] > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> Someone could be eavesdropping on you right now (man-in-the-middle attack)!
> It is also possible that a host key has just been changed.
> The fingerprint for the ED25519 key sent by the remote host is
> SHA256:().
> Please contact your system administrator.
> Add correct host key in C:\\Users\\user/.ssh/known_hosts to get rid of this message.
> Offending ECDSA key in C:\\Users\\user/.ssh/known_hosts:12
> Host key for [127.0.0.1]:22 has changed and you have requested strict checking.
> Host key verification failed.
> プロセスが、存在しないパイプに書き込もうとしました。
[22:43:26.170] Got some output, clearing connection timeout
[22:43:27.507] "install" terminal command done
[22:43:27.508] Install terminal quit with output: プロセスが、存在しないパイプに書き込もうとしました。
[22:43:27.508] Received install output: プロセスが、存在しないパイプに書き込もうとしました。
[22:43:27.508] WARN: $PLATFORM is undefined in installation script output.  Errors may be dropped.
[22:43:27.509] Failed to parse remote port from server output
[22:43:27.509] Exec server for ssh-remote+() failed: Error
[22:43:27.510] Error opening exec server for ssh-remote+(): Error
[22:43:27.510] No hints found in the recent session.
[22:43:50.090] ConfigFileWatcher: start watching file:///c:\/Users/user/.ssh/config
[22:43:50.090] ConfigFileWatcher: adding save listener
[22:43:50.091] ConfigFileWatcher: adding close listener

ログが一瞬で流れてしまうのでわかりにくいけれど、ログに出ている通り「リモート側とローカル側でフィンガープリントが違うよ」ということなので「C:\Users\(user)/.ssh/known_hosts からフィンガープリントを削除」すればよい。

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?