dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 64eac4a9a6b3a6d7e4c73d6fb338a3362d5dad98
parent c503d8752d9062c1986af90e27a01a9019ae8326
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Fri, 12 May 2017 09:50:18 -0400

add notmux option

Diffstat:
Mbin/google-cloud-lamps-instance1-ssh.sh | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/bin/google-cloud-lamps-instance1-ssh.sh b/bin/google-cloud-lamps-instance1-ssh.sh @@ -9,6 +9,9 @@ if [ "$1" = "-s" ]; then elif [ "$1" = "-a" ]; then autossh -i ~/.ssh/google-cloud-ssh-key $user@$host else + if [[ "$1" = "notmux" ]]; then + remotecommand="" + fi mosh --ssh="ssh -i ~/.ssh/google-cloud-ssh-key" $user@$host \ -- $remotecommand fi