Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

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

http://fuse.sourceforge.net/sshfs.html

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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