Add sshfs function for mounting ssh via fuse
This commit is contained in:
parent
977c1c0f47
commit
5d4a6b2f34
1 changed files with 3 additions and 0 deletions
|
@ -16,3 +16,6 @@ function port-forward {
|
||||||
ssh $1 -R $2":localhost:"$2 -g
|
ssh $1 -R $2":localhost:"$2 -g
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function map-sshfs {
|
||||||
|
sshfs -o idmap=user -o workaround=rename $USER@$1 $HOME"/Mounts/"$2
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue