Skip to content

Quick Bash Script that will clear just one IP from ssh known_hosts file

Notifications You must be signed in to change notification settings

russellmacshane/clear-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Clear IP

Quick Bash Script that will clear just one IP from ssh known_hosts file

Installation Instructions

  1. Clone this repo
  2. Either keep it in cloned folder or copy script anywhere you'd like
    • I copied mine in my ~/.ssh/ directory

Usage

  1. Whenever you get the WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! error when trying to ssh into a box
  2. Run ./clear-ip.sh 127.0.0.1 and replace 127.0.0.1 with the IP address that you're trying to clear

About

Quick Bash Script that will clear just one IP from ssh known_hosts file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages