add ssh alias and config
This commit is contained in:
parent
4c4efbdacb
commit
a8bc569db4
2 changed files with 21 additions and 1 deletions
8
.bashrc
8
.bashrc
|
@ -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'
|
||||
|
|
14
.ssh/config
Normal file
14
.ssh/config
Normal file
|
@ -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…
Reference in a new issue