Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

.ssh/known_hosts から22以外のポート番号のホスト情報を消す方法

More than 5 years have passed since last update.

ポートが22の場合はこの方法で消せる。

ssh-keygen -R host

22以外の場合は以下を実行する。

ssh-keygen -R [host]:port
jemiam
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away