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 need to send large files from a Linux machine to another using cryptography. The sender machine knows the recipient IP but not vice-versa. I don't need strong cryptography and prefer higher-speed less-secure solutions.

There are no problems with presharing crypto keys but I'd prefer not dealing with SSH users creation.

I think to HTTP PUT over TLS, but I never had experience with it and I prefer to hear which are the possible solutions.


Ah, I need some kind of authentication to avoid abuse.

What about rsync? I know that it can listen as a daemon but I don't know anything about cryptography. So pipeing with OpenSSL may be a solution.

share|improve this question
    
The receiver can always know the senders IP address, unless you use a proxy server. –  Keith Aug 28 '11 at 20:00
1  
Please elaborate on why you cannot use SSH. That is the canonical solution. –  Keith Aug 28 '11 at 20:02
    
@Keith Yeah, I know that, simply I don't want to store the sender IP on the receiver, so that if the transfers stop there is no way to get to the sender from the receiver. –  FiloSottile Aug 28 '11 at 20:11
    
@Keith I want to avoid SSH both because of its heavy log traces and because it gives a too wide access to the machine. I know that I can restrict the use of a specific key, but it remains an overkill. I prefer so a specific service than something wide, heavy and system-user related like SSH. –  FiloSottile Aug 28 '11 at 20:17
1  
Actually, the ssh server is very configurable. See man sshd_config for more information. –  Keith Aug 29 '11 at 0:08
add comment

2 Answers

up vote 0 down vote accepted

How about just sending an encrypted Zip file? Its uses AES-256 encryption and you can send it via a copy/ftp/whatever.

share|improve this answer
    
That's similar to using some OpenSSL on the two sides but what interests me most is the transfer way. Setting up an FTP server seems a great idea, but what do you mean for "copy"? –  FiloSottile Aug 28 '11 at 20:20
    
Just a generic term. Since the file itself is encrypted, you could use any method for transfer. You said security wasnt a priority... –  Keltari Aug 28 '11 at 20:22
    
Yeah, exact. Now I am looking with interest to FTPS (not SFTP) –  FiloSottile Aug 28 '11 at 20:25
    
Went with FTPS, thanks all –  FiloSottile Aug 29 '11 at 19:19
add comment

Have a look at SCP (Secure Copy).

It is a fairly standard method of securely copying files from one machine to another.

share|improve this answer
    
No, it is SSH based. If I can avoid it I want to, said above. Too much logs and system users stuff. –  FiloSottile Aug 28 '11 at 19:33
1  
I'm not at all convinced by your objections to SSH. As Keith said in comments on the question, you can configure it pretty much however you want, e.g. disabling all logging and only accepting connections for a single unprivileged user. –  David Z Aug 29 '11 at 19:18
add comment

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.