blob: 91d324c64cea4627c7fba2b5967ea2113ba44e1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
if [ "$1" = "" ] || [ "$1" = "-h" ]; then
echo -e "${blue}Usage:$NC mount-ftp <server_string>";
echo -e "${green}Servers:$NC ipx";
exit 1
else
case $1 in
ipx)
sshfs web0@nevera: -p 22222 ${HOME}/workspace/ipx_ssh &&
echo -e "${GREEN}IPX mounted.$NC"
;;
wf)
sshfs stem47@stem47.loomes.net: -p 22 ${HOME}/workspace/wf_ssh &&
echo -e "${GREEN}WF mounted.$NC"
;;
*) echo -e "${RED}Error:$NC Unknown Server" ;;
esac
fi
|