====== SSHFS ======
===== Linux =====
sshfs 설치
sudo apt install sshfs
마운트
* /etc/fuse.conf에서 user_allow_other 설정
sshfs {server-id}@{server-ip}:{target-dir} {mount-dir} -o allow_other -o reconnect -o nonempty
언마운트
fusermount -u {mount}
ssh server 재시작
sudo service ssh restart
자동 마운트
* 또는 .bashrc에 마운트 명령 추가
* fstab에 설정 (실패 1)
sshfs#{server-id}@{server-ip}:{target-dir} {mount-dir} allow_other reconnect nonempty defaults 0 0
- https://blog.leocat.kr/notes/2018/04/23/sshfs-mount-remote-server-using-ssh
===== Windows =====
WSL openssh server 설치
https://www.tuwlab.com/ece/29302
winfsp 설치
https://github.com/billziss-gh/winfsp/releases
sshfs-win 설치
https://github.com/billziss-gh/sshfs-win/releases
네트워크 드라이브 연결
net use S: \\sshfs\{user_id}@{server-ip}
{{tag>ssh sshfs filesystem fuse}}