summaryrefslogtreecommitdiffstats
path: root/ssh-mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-mount.sh')
-rwxr-xr-xssh-mount.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-mount.sh b/ssh-mount.sh
index 91d324c..481d61c 100755
--- a/ssh-mount.sh
+++ b/ssh-mount.sh
@@ -3,16 +3,16 @@
if [ "$1" = "" ] || [ "$1" = "-h" ]; then
echo -e "${blue}Usage:$NC mount-ftp <server_string>";
- echo -e "${green}Servers:$NC ipx";
+ echo -e "${green}Servers:$NC ipx, wf";
exit 1
else
case $1 in
ipx)
- sshfs web0@nevera: -p 22222 ${HOME}/workspace/ipx_ssh &&
+ sshfs web0@nevera: -o reconnect -p 22222 ${HOME}/workspace/ipx_ssh &&
echo -e "${GREEN}IPX mounted.$NC"
;;
wf)
- sshfs stem47@stem47.loomes.net: -p 22 ${HOME}/workspace/wf_ssh &&
+ sshfs stem47@stem47.loomes.net: -o reconnect -p 22 ${HOME}/workspace/wf_ssh &&
echo -e "${GREEN}WF mounted.$NC"
;;
*) echo -e "${RED}Error:$NC Unknown Server" ;;