added function to display fingerprint in pubkey
command
This commit is contained in:
parent
bea9c85c9a
commit
8d37dfd5ad
@ -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 taglist='git tag | tr - \~ | sort -V | tr \~ -'
|
||||||
alias hosts='sudo nano /etc/hosts'
|
alias hosts='sudo nano /etc/hosts'
|
||||||
alias historygrep='history | grep'
|
alias historygrep='history | grep'
|
||||||
|
Loading…
Reference in New Issue
Block a user