Skip to content

Instantly share code, notes, and snippets.

@ottomata
Created September 27, 2012 17:58
Show Gist options
  • Save ottomata/3795405 to your computer and use it in GitHub Desktop.
Save ottomata/3795405 to your computer and use it in GitHub Desktop.
#!/bin/bash
host=$1
sed -i -e "/$host/d" $HOME/.ssh/known_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment