사용자 도구

사이트 도구


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}

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

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}
sshfs.1639230384.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)