commit bace5f71f8496cbf58aa7eebf3eafc7c4df2ba76
parent 85d29658e72231b10a7f00c7ae780fc0934a9df9
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 5 Dec 2014 09:29:25 +0100
add sshfs mounting
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bin/iddqd-ssh b/bin/iddqd-ssh
@@ -1,10 +1,12 @@
#!/bin/sh
if [[ "$(ifconfig | grep 10.17.8)" ]]; then
- echo "On geo lan, connecting directly..."
+ echo "On geo lan. Mounting sshfs and connecting directly..."
+ ./sshfs-iddqd.sh
ssh -v iddqd.nfit.au.dk -t 'bin/tmux-dev.sh'
elif [[ "$(ifconfig | grep 10.17.2)" ]]; then
- echo "On geo VPN, connecting directly..."
+ echo "On geo VPN. Mounting sshfs and connecting directly..."
+ ./sshfs-iddqd.sh
ssh -v iddqd.nfit.au.dk -t 'bin/tmux-dev.sh'
else
echo "Outside geo lan, connecting through fresh-horse..."