Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a large-capacity file storage server ('Storagebox') which other systems mount to to access certain files. One of these systems ('Securebox') is 100% managed by another person and I have no access to it. 'Securebox' needs to mount a directory on 'Storagebox' but there is risk of sensitive data being sniffed between the two servers, therefore requiring the connection to be encrypted. Is this possible to achieve, and what would be the best method of doing so in a pure Linux environment? Preferably authentication could be handled via preshared key.

share|improve this question

You could use sshfs. It is secure as you can pre-share the key and also all communication is encrypted.

share|improve this answer

Create a VPN between the two servers with OpenVPN, and then use a networking protocol of your choice over the encrypted VPN connection to mount and share files.

share|improve this answer

If you want to keep the data hidden from the anyone on the remote end, use iSCSI Enterprise Target (iet) to expose the block device as an iSCSI target. Then use truecrypt or cryptsetup on mounted iSCSI devices on your end.

Since the encryption/decryption is done entirely on your end there's no need to encrypt the transport at all.

share|improve this answer
Care to elaborate? – Ярослав Рахматуллин Jul 20 '13 at 6:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .