사용자 도구

사이트 도구


sshfs

문서의 이전 판입니다!


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}

자동 마운트

  • fstab에 설정
  • 또는 .bashrc에 마운트 명령 추가

Windows

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}
/var/www/html/data/pages/sshfs.txt · 마지막으로 수정됨: 저자 127.0.0.1