Sshfs: Difference between revisions

From James's Wiki
(Created page with " sudo -u <username> 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 s...")
 
No edit summary
Line 1: Line 1:
  sudo -u <username> sshfs -p 2222 "<username>@192.168.1.50:<remote directory>" <mountpoint>
  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:
notes:

Revision as of 02:40, 26 November 2017

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