Commit 3b33eb36 authored by Ivan Yelizariev's avatar Ivan Yelizariev
Browse files

Update run-local-files-remotely.rst

parent ebfe732e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -23,9 +23,13 @@ On your remote server:
.. code-block:: sh

    # Step 4. Mount your directory on remote server
    sshfs -p 2222 -o idmap=user,nonempty \
    # about allow_other check this: https://github.com/moby/moby/issues/27026#issuecomment-253579983 
    sshfs -p 2222 -o idmap=user,nonempty,allow_other \
                 LOCALUSERNAME@127.0.0.1:/PATH/TO/LOCAL/FOLDER /PATH/TO/REMOTE/FOLDER

    # to unmount:
    fusermount -u /PATH/TO/REMOTE/FOLDER

References
==========