sshfs mount with full root access
1. Enable root login in sshfs. 2. Mount: $ sudo sshfs -o allow_other,default_permissions root@remote_host:/ /mount/dir
1. Enable root login in sshfs. 2. Mount: $ sudo sshfs -o allow_other,default_permissions root@remote_host:/ /mount/dir
By default, sshfs ignores mount as root user on remote machine (sshfs internally uses SFTP, which in turn uses ssh config). Edit /etc/ssh/sshd_config file and edit the line: PermitRootLogin without-password…