Originally posted by sumthinelse
All I want is a way to send secure data back and forth data between 2 machines. I thought about setting up an Apache server on one end, but I can't find anything in its documentation about sending data back and forth. Maybe the idea is that you set up a secure SSL session in HTML and then use FTP to send data in that same session - but then I would be poking a hole in the firewall on the server end if I enable incoming FTP.
You can use Secure FTP on Linux. I just checked out this site, and it may have your simplest answer :
http://www.openssh.com/
This page is BSD specific, but here's the port page :
http://www.openssh.com/portable.html
"DESCRIPTION
sftp is an interactive file transfer program, similar to ftp(1), which performs all operations over an encrypted ssh(1) transport. It may also use many features of ssh, such as public key authentication and compression. sftp connects and logs into the specified host, then enters an interactive command mode."
This will require opening the sftp port on the firewall :
ftps-data 989/tcp ftp protocol, data, over TLS/SSL
ftps-data 989/udp ftp protocol, data, over TLS/SSL
ftps 990/tcp ftp protocol, control, over TLS/SSL
ftps 990/udp ftp protocol, control, over TLS/SSL
Depending on your Linux install, it may just require starting the daemon, or it may require a new package install. I am not sure which Windows FTP clients support sftp, the one I use just has a button to click.