New tmux+auth function

This commit is contained in:
gardouille 2025-03-06 10:42:27 +01:00
parent 9d67719bd3
commit 5f3ee34364
Signed by: gardouille
SSH Key Fingerprint: SHA256:+/m64Ompl0VTnf6RSuEk6llC7wWxwKwpozxWA2LqQ/M

8
zshrc
View File

@ -450,6 +450,14 @@ function load-ssh-rsa() {
fi
}
# }}}
# Load all ssh|gpg key with tmux {{{
function load-tmux-auth() {
# If no ssh-key is in agent
echo "test ssh-key"
# If no gpg-key is in agent
echo "test gpg-key"
}
# }}}
# Clear old entries in known_hosts {{{
function clearsshkey() {
sed -i "${1}d" ~/.ssh/known_hosts