X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/afda7f51444113730f020d76bebf4c74b01661be..1fa6633f79598f828619cf4678af2f0c1787a110:/hacks/ssh diff --git a/hacks/ssh b/hacks/ssh index d8a46a4..cbec247 100755 --- a/hacks/ssh +++ b/hacks/ssh @@ -123,7 +123,7 @@ while :; do ;; ## These options are interesting to the master connection. - m,[aADLlRSwxXv]*) + m,[aADLlRSwxXv46]*) masteropts=("${masteropts[@]}" "-${o:0:1}$arg") ;; @@ -146,7 +146,7 @@ while :; do ## A bare word. Maybe it's the hostname, or the start of the command. *) - case ${host-t} in + case ${host-t}${host+nil} in t) host=$1 ;; *) break ;; esac