add ssh alias and config

master
Jean-Marie Mineau 4 years ago
parent 4c4efbdacb
commit a8bc569db4

@ -47,6 +47,8 @@ ex ()
### ALIASES
# Some are inspired from https://gitlab.com/dwt1/dotfiles/-/blob/master/.bashrc
alias sudo='sudo '
# navigation
alias ..='cd ..'
alias ...='cd ../.'
@ -63,7 +65,7 @@ alias upgrade='pacman -Suy && yay -Suy'
# git
alias add='git add'
alias branch='git branch'
alias commit='git commit'
alias commit='git commit -am'
alias clone='git clone'
alias pull='git pull'
alias push='git push'
@ -71,4 +73,8 @@ alias merge='git merge'
alias status='git status'
alias rebase='git rebase'
# ssh
alias hindley='ssh hindley.adh.auro.re'
alias proxy_hindley='ssh -D 8080 hindley.adh.auro.re'
alias config='/usr/bin/git --git-dir=/home/me/.cfg/ --work-tree=/home/me'

@ -0,0 +1,14 @@
AddKeysToAgent confirm
Host hindley.adh.auro.re
User jmmineau
Host azerty.fil.sand.auro.re
User jmmineau
Host 10.128.0.* *.adm.auro.re
ProxyJump passerelle.auro.re
User histausse
Host *.auro.re
User histausse
Loading…
Cancel
Save