From 8d37dfd5ad1ed5be0bb285f59ee232e3cd57a68b Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Thu, 5 Sep 2024 16:31:56 +0200 Subject: [PATCH] added function to display fingerprint in `pubkey` command --- bashrc_overrides/convenience_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc_overrides/convenience_aliases b/bashrc_overrides/convenience_aliases index c63759d..5de1629 100644 --- a/bashrc_overrides/convenience_aliases +++ b/bashrc_overrides/convenience_aliases @@ -1,4 +1,4 @@ -alias pubkey='for PUBKEY_FILE in $(ls ~/.ssh/id_*.pub); do echo "${PUBKEY_FILE} :" | sed -e "s/.*id_//;s/\.pub//"; cat "${PUBKEY_FILE}"; echo; done' +alias pubkey='for PUBKEY_FILE in $(ls ~/.ssh/id_*.pub); do echo "${PUBKEY_FILE} :" | sed -e "s/.*id_//;s/\.pub//"; cat "${PUBKEY_FILE}"; ssh-keygen -lf "${PUBKEY_FILE}" -E sha256; echo; done' alias taglist='git tag | tr - \~ | sort -V | tr \~ -' alias hosts='sudo nano /etc/hosts' alias historygrep='history | grep'