scripts/ssh-remove-host

4 lines
50 B
Bash
Executable File

#!/bin/bash
sed -i -e "/$1/d" ~/.ssh/known_hosts