4

I created an encrypted volume with LUKS and uploaded it to a remote directory on an untrusted host.

I can mount it locally though. I first mount the remote directory locally with sshfs and then open my volume with cryptsetup as if it were a local file.

$ sshfs user@host: remote/
# cryptsetup luksOpen remote/disk.img disk
$ mount /dev/mapper/disk mount_point/

My question is: do I thereby make whatever is in mount_point/ visible to users on the remote host? Also, are commands I execute in a directory mounted through sshfs transparent to administrators on the remote host?

3

The remote host sees nothing but the (encrypted) reads and writes to the file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.