From 14f6d53f4110a26ebb1c6c7ee20a8562bf3c1619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 13 Apr 2021 11:29:39 +0200 Subject: shellrc.d-desktop/ssh: add allow_other This also changes from slave to passive as it seems slave is offensive. --- shellrc.d-desktop/ssh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shellrc.d-desktop/ssh') 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" } -- cgit v1.2.3