#!/bin/bash# Delete an authorized_keys entry. Specify the line number (from catkeys) to delete.if[$#-ne1];thenecho"Syntax: $0 <line number>">&2exit1filine_no="$1"if![[$line_no=~^[0-9]+$]];thenecho"Argument must be a number">&2exit1fi
sed-i"$line_no"d"$HOME/.ssh/authorized_keys"echo"New keys:""$HOME"/git-shell-commands/catkeys