ssh aliases

This commit is contained in:
thek4n 2024-03-15 16:51:51 +03:00
parent 7cf25738cc
commit de00dd3107

View File

@ -220,5 +220,10 @@ most-often-commands() {
# Disable tmux on remote machine # Disable tmux on remote machine
ssht() { ssht() {
ssh -t "$1" 'TMUX=NO $SHELL -l' ssh -t $@ 'TMUX=NO $SHELL -l'
}
# Enable X11Forwarding and disable mux session
sshx() {
ssh -X -o ControlMaster=no $@
} }