Skip to main content

backup on sshfs error

Comments

2 comments

  • JacobPerkins
    Hi, This is not a cPanel problem, but a problem with SSHFS. You need to tell SSHFS what UID/GID to mount that directory as. [SOLVED] sshfs is mounting filesystems as another user Ubuntu 10.04
    0
  • ale.ab
    Hi, This is not a cPanel problem, but a problem with SSHFS. You need to tell SSHFS what UID/GID to mount that directory as. [SOLVED] sshfs is mounting filesystems as another user Ubuntu 10.04

    i know cpanel is not the problem, but i tried in this forum :) thank you! :) now seems all ok. tonight i hope the backup will be succesfully completed. for others i used this commmand sshfs -o uid=0,gid=0 -o reconnect -o IdentityFile=/root/.ssh/mykey remoteuser@remoteserver:/remote/path/ /mnt/sshfs/ and add this in crontab * * * * * if ! mountpoint -q /mnt/sshfs/; then sshfs -o uid=0,gid=0 -o reconnect -o IdentityFile=/root/.ssh/mykey remoteuser@remoteserver:/remote/path/ /mnt/sshfs/; fi thank you again
    0

Please sign in to leave a comment.