User Tools

Site Tools


key_add_in_.basrc

This is an old revision of the document!


Key add in .basrc

This works perfectly in Mint, dunno about others;

# Add a personal key to the keyring...
Key=".ssh/personal-rsa"
Added=$(ssh-add -l | grep -o ${Key})
if [[ ! ${Key} == ${Added} ]]; then
	ssh-add ~/${Key}
fi
key_add_in_.basrc.1685559650.txt.gz ยท Last modified: by steve