From 915a6da8b9fc8db6044a8a8676fdc64691f0b4ab Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 1 Dec 2008 20:51:14 +0100 Subject: hopefully fixed timeout bug in ssh-mount. added 2 scripts --- ssh-mount.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ssh-mount.sh') 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 "; - 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" ;; -- cgit v1.2.3-24-g4f1b