diff options
author | Karel Kočí <cynerd@email.cz> | 2021-04-13 11:29:39 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2021-04-13 11:29:39 +0200 |
commit | 14f6d53f4110a26ebb1c6c7ee20a8562bf3c1619 (patch) | |
tree | a6dc7ad7b6b4485455603ae451764c6ad18711d3 | |
parent | d9dae64ec926a38b93a11b36af5a828aedb4c189 (diff) | |
download | shellrc-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/ssh | 3 |
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" } |