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?

More than 3 years have passed since last update.

サーバーにsshでアクセスしたら、known_hostsのエラーでた

0
Posted at

新しいpcで接続しようとしたら前までできていた、sshで接続していたサーバーができなくなっていた。
その際に、known_hostのエラーが出てきた。

初めてサーバにSSHでアクセスする際聞かれると思う。

$ ssh user@192.168.100.200
The authenticity of host '192.168.100.200 (192.168.100.200)' can't be established.
ECDSA key fingerprint is SHA256:qKZyNM7JGgEGH7QWLANKBpNlFwM1XT7i45Z5oB7V61Y.
Are you sure you want to continue connecting (yes/no)? yes

finger printが登録されるとのこと。
これやってなかったかな。

もしくは、ssh user@192.168....
の@忘れしてしまっていた可能性がある。

とりあえず、初回はきちんと履歴が残るしアクセスしているpcの情報などがサーバーに保存される感じやと思う。

参考:
https://a-mochan.hatenablog.com/entry/2019/12/20/141036

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?