기타
서버 폴더 마운트하기
woo11
2021. 9. 9. 18:51
우분투에서 sftp 서버의 폴더를 로컬에 마운트하는 명령입니다.
-p 옵션으로 포트 지정하고 user에 본인이 접속 시 사용하는 user_id 적으면 됩니다.
sudo sshfs -p 1111 -o allow_other user@x.x.x.x:/backups/server1 /my/backups
참고자료
[완료] 터미널에서 다른 서버로 ssh 연결 할때 Temporary failure of name resolution | KLDP
원격 파일시스템을 마운트 하기 위해서 sshfs를 설치했습니다. sshfs root@xxx.xxx.xxx.xxx:/example /mnt/example 실행시 에러는 아래와 같습니다. read: Connection reset by peer 서버에서 ssh의 포트인 22를 사용하지
kldp.org