SSH alias with /dev/null hosts file
This commit is contained in:
parent
d028c01296
commit
3d823c57e0
3
zshrc
3
zshrc
|
@ -316,6 +316,9 @@ alias ssh="[[ ! -f ~/.keychain/$HOST-sh ]] && keychain --agents ssh id_rsa; sour
|
|||
# For GPG: If keychain doesn't exist, load it then source the file-sh-gpg
|
||||
alias gpg="[[ ! -f ~/.keychain/$HOST-sh-gpg ]] && keychain --noask --systemd --agents gpg; source ~/.keychain/$HOST-sh-gpg; gpg "
|
||||
|
||||
# ssh
|
||||
alias sshdev='ssh -o UserKnownHostsFile=/dev/null'
|
||||
|
||||
# systemd
|
||||
alias sctl="systemctl"
|
||||
alias jctl="journalctl"
|
||||
|
|
Loading…
Reference in New Issue