Several scripts to mount local or remote network storages (SSH, SMB...)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
429 B

# Local directory where the remote storages should be mounted to
LOCALMOUNTDIR=/home/user/remote
## mnt-sftp.sh
# Preconfigured HOSTs in ~/.ssh/config can be used
PRESSH[0]=server1
PRESSH[1]=user@server2.tld
PRESSH[2]=root@12.34.56.78
## mnt-share.sh
NASIP='192.168.178.255'
NASDIR='Share'
NASUSER='user'
NASPASS='password'
## mnt-share2.sh
SHAREPATH[0]='0:192.168.178.255/Share'
SHAREUSER[0]='user'
SHAREPASS[0]='password'