aboutsummaryrefslogtreecommitdiff
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
parentd9dae64ec926a38b93a11b36af5a828aedb4c189 (diff)
downloadshellrc-0.8.2.tar.gz
shellrc-0.8.2.tar.bz2
shellrc-0.8.2.zip
shellrc.d-desktop/ssh: add allow_otherv0.8.2
This also changes from slave to passive as it seems slave is offensive.
-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"
}