bashrc: add sshtmp and moshtmp
This commit is contained in:
parent
63696e5cbe
commit
9defd3807e
|
@ -16,3 +16,8 @@ fi
|
|||
# Set TERM to screen-256color inside tmux
|
||||
# (Needs tmux.conf changes)
|
||||
[[ $TMUX != "" ]] && export TERM="screen-256color"
|
||||
|
||||
# SSH without checking or adding host keys to known_hosts
|
||||
# Useful for cloud server rescue environment & installation
|
||||
alias sshtmp="ssh -o 'UserKnownHostsFile /dev/null' -o 'StrictHostKeyChecking no'"
|
||||
alias moshtmp="mosh --ssh=\"ssh -o 'UserKnownHostsFile /dev/null' -o 'StrictHostKeyChecking no'\""
|
||||
|
|
Loading…
Reference in New Issue