ssh aliases
This commit is contained in:
parent
7cf25738cc
commit
de00dd3107
@ -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 $@
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user