Skip to main content

SSH file share

  • Host root user가 아닌 사용자 실행은 아래로 변경
    • sudo vi /etc/fuse.conf
      # /etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)
      
      # Set the maximum number of FUSE mounts allowed to non-root users.
      # The default is 1000.
      mount_max = 1000
      
      # Allow non-root users to specify the allow_other or allow_root mount options.
      user_allow_other
  • Client
    #!/bin/sh
    
    /usr/bin/sshfs -o allow_other hyunsu@192.168.0.10:/data /home/pi/Desktop/sshf
    
    exit 0