aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d-desktop/ssh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-04-13 11:29:39 +0200
committerKarel Kočí <cynerd@email.cz>2021-04-13 11:29:39 +0200
commit14f6d53f4110a26ebb1c6c7ee20a8562bf3c1619 (patch)
treea6dc7ad7b6b4485455603ae451764c6ad18711d3 /shellrc.d-desktop/ssh
parentd9dae64ec926a38b93a11b36af5a828aedb4c189 (diff)
downloadshellrc-663f414e0994af243474005919d0ae817b60819e.tar.gz
shellrc-663f414e0994af243474005919d0ae817b60819e.tar.bz2
shellrc-663f414e0994af243474005919d0ae817b60819e.zip
shellrc.d-desktop/ssh: add allow_otherv0.8.2
This also changes from slave to passive as it seems slave is offensive.
Diffstat (limited to 'shellrc.d-desktop/ssh')
-rw-r--r--shellrc.d-desktop/ssh3
1 files changed, 2 insertions, 1 deletions
diff --git a/shellrc.d-desktop/ssh b/shellrc.d-desktop/ssh
index b8cdd4e..51cb923 100644
--- a/shellrc.d-desktop/ssh
+++ b/shellrc.d-desktop/ssh
@@ -14,5 +14,6 @@ sshcfs() {
tbg dpipe \
/usr/lib64/misc/sftp-server \
= \
- ssh "$@" "$target" sshfs -o idmap=user -o slave ":$local_dir" "$remote_dir"
+ ssh "$@" "$target" sshfs -o idmap=user -o passive -o allow_other \
+ ":$local_dir" "$remote_dir"
}