Sshfs: Difference between revisions
From James's Wiki
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
==References== | ==References== | ||
https://www.linode.com/docs/networking/ssh/using-sshfs-on-linux | https://www.linode.com/docs/networking/ssh/using-sshfs-on-linux | ||
sshfs -o allow_other -p 2222 "ractive@192.168.1.41:/media/2USB/New Stuff" /media/aria/ |
Revision as of 13:10, 15 January 2018
sudo -u <username> sshfs -p 2222 "<username>@192.168.1.50:<remote directory>" <mountpoint>
sshfs -p 2222 "<username>@192.168.1.50:<remote directory>" <mountpoint>
notes:
the "-p 2222" option MUST come first not last or things just don't work
setup RSA keys for the user to the server for passwordless connection
don't run as sshfs sudo, its fuse...designed to be done by the user
References
https://www.linode.com/docs/networking/ssh/using-sshfs-on-linux
sshfs -o allow_other -p 2222 "ractive@192.168.1.41:/media/2USB/New Stuff" /media/aria/