Browse Source

add alias for secure random password based on solo key and alias for generate just randum numbers

master
Markus Bergholz 1 year ago
parent
commit
171eac6690
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      bash/alias.bashrc

+ 2
- 0
bash/alias.bashrc View File

@ -22,6 +22,8 @@ alias hosts="grep 'Host ' ~/.ssh/config"
alias fail="tail -f"
alias ap=ansible-playbook
alias passgen='od -N 4 -t uL -An /dev/urandom | tr -d " "+%s | sha256sum | base64 | head -c 32 ; echo'
alias spassgen='solo key rng hexbytes|sha256sum |base64|head -c 32 ; echo'
alias würfel='echo $((16#$(solo key rng hexbytes)))|tail -c '
alias myip='curl ifconfig.me'
alias signkey='ssh-keygen -s ~/.ssh/osuv -I hetzner.osuv.de -n m -V +1w ~/.ssh/id_ed25519.pub'
alias otp='ykman oath code'


Loading…
Cancel
Save