(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-06-25 11:38:18 +02:00 committed by GitSync
parent 780af426b0
commit 43eaa89344

View File

@ -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)