Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 800 Bytes

mount_linux_to_window.md

File metadata and controls

31 lines (24 loc) · 800 Bytes

mount_linux_to_window

Install

  1. WinFsp - download
  2. SSFHS-Win - download

Run

$ net use [DRIVE CHAR]:\\sshfs\[USER ID]@[IP ADDRESS]![PORT]\[DIR] /user:[USER ID]

# additional
$ mklink /d "D:\test" "E:"  # link 'E:' to 'D:\test'

ex) $ net use E:\\sshfs\admin@000.000.000.000!80\sample /user:admin

Unmount

$ net use E: /delete

# additional
$ rmdir D:\test  # remove link

linux to linux

$ sudo sshfs -o allow_other -p [PORT] [USER ID]@[IP ADDRESS]:[FULL PATH] [LOCAL FULL PATH]

# unmount
$ sudo fusermount -u [LOCAL FULL PATH]

ex) $ sudo sshfs -o allow_other -p 80 admin@000.000.000.000:/home/admin/test /home/user/mount