Merge pull request #1075 from Flink/dokku-client-ssh-tty

TTY and Compression for SSH
This commit is contained in:
Jose Diaz-Gonzalez committed 2015-04-07 18:34:54 -04:00
commit 59b9e5335b
1 file changed
+2 -2
+2 -2
View File
@@ -94,7 +94,7 @@ if [[ ! -z $DOKKU_HOST ]]; then
fi fi
if [[ -z "$donotshift" ]]; then if [[ -z "$donotshift" ]]; then
ssh "dokku@$DOKKU_HOST" "$@" ssh -t "dokku@$DOKKU_HOST" "$@"
exit $? exit $?
fi fi
@@ -116,7 +116,7 @@ if [[ ! -z $DOKKU_HOST ]]; then
fi fi
fi fi
# shellcheck disable=SC2086 # shellcheck disable=SC2086
ssh "dokku@$DOKKU_HOST" $long_args "$verb" "$appname" "${args[@]}" ssh -t "dokku@$DOKKU_HOST" $long_args "$verb" "$appname" "${args[@]}"
} }
if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]]; then if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]]; then