removed leading underscore in public key name echo

This commit is contained in:
Bryan Joshua Pedini 2022-09-12 16:35:29 +02:00
parent 3a1f00ae34
commit d235ac670d

View File

@ -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}"; echo; done'
alias hosts='sudo nano /etc/hosts'
alias historygrep='history | grep'
alias sshconfig='nano ~/.ssh/config'