ssh: use ControlMaster

This commit is contained in:
2014-02-27 15:19:04 +03:00
parent 9b890e49ff
commit f3233acaba
2 changed files with 1 additions and 0 deletions

1
.rc
View File

@@ -66,6 +66,7 @@ alias parent='ps -p $PPID -o comm='
alias dbgrep='dbgrep.pl -vpuroot'
alias tcpdump='tcpdump -l'
alias pacman='pacman --color auto'
alias ssh='ssh -o "ControlMaster=auto" -o "ControlPath=~/.ssh/ctl/master-%r@%h:%p" -o "ControlPersist=1h"'
function i4() {
if [ $# -eq 0 ]; then

0
.ssh/ctl/.gitkeep Normal file
View File