IT/LINUX

리눅스 ssh마운트 (sshfs)

김보야 2018. 10. 15. 15:02

epel-release, fuse, sshfs 설치

yum install -y epel-release fuse sshfs



sshfs mount

sshfs 상대방계정@상대방아이피:상대방경로 로컬경로 옵션


ex) 로컬 디렉토리의 /app_svc/sample경로를 123.123.123.123장비의 /project/sample경로에 mount하고, root 이외 사용자 접근허용

sshfs boya@123.123.123.123:/project/sample /app_svc/sample -o allow_other