Ssh : Allow other for sshfs.
This commit is contained in:
parent
8c0c740824
commit
baa18ffdff
|
@ -1,7 +1,7 @@
|
||||||
# Mount FS over ssh. Just extra config for sshfs.
|
# Mount FS over ssh. Just extra config for sshfs.
|
||||||
# Usage: ssh_mount <REMOTE> <LOCAL>
|
# Usage: ssh_mount <REMOTE> <LOCAL>
|
||||||
function ssh_mount() {
|
function ssh_mount() {
|
||||||
sshfs -o uid=${UID},auto_unmount "${@}"
|
sshfs -o uid=1000,auto_unmount,allow_other "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Generate private an public keys on a local host and print a public key.
|
# Generate private an public keys on a local host and print a public key.
|
||||||
|
|
Loading…
Reference in a new issue