From 43eaa89344c810bdaeb7445075d138bc24d6e806 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 25 Jun 2022 11:38:18 +0200 Subject: [PATCH] (Grav GitSync) Automatic Commit from RealStickman --- pages/04.other/08.sshfs/default.en.md | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pages/04.other/08.sshfs/default.en.md diff --git a/pages/04.other/08.sshfs/default.en.md b/pages/04.other/08.sshfs/default.en.md new file mode 100644 index 0000000..ccd9423 --- /dev/null +++ b/pages/04.other/08.sshfs/default.en.md @@ -0,0 +1,40 @@ +--- +title: SSHFS +--- + +[toc] +## Linux Client +`# apt install sshfs` + +`# pacman -S sshfs` + +Mount remote filesystem +`sshfs (user)@(ip/domain):(remotepath) (mountpoint)` + +*Example with Windows host:* +`sshfs admin@192.168.1.123:/ /mnt/tmp` + +## Windows Client +Install [WinFSP](https://github.com/billziss-gh/winfsp) +Install [sshfs-win](https://github.com/billziss-gh/sshfs-win) + +### Usage +*No path = start in remote user's home directory* + +#### GUI +Map a new network drive in Windows Explorer +`\\sshfs\(user)@(ip/domain)\(path)` + +#### Terminal +Mount drive +`net use (letter): \\sshfs\(user)@(ip/domain)\(path)` + +Show mounted drives +`net use` + +Remove mounted drive +`net use (letter): /delete` + +## References +- [sshfs](https://github.com/libfuse/sshfs) +- [sshfs-win](https://github.com/billziss-gh/sshfs-win) \ No newline at end of file