Looking for the best way of sending a 50MB file

peter kostov fedora at light-bg.com
Sun Jan 8 16:43:32 UTC 2006


On Sun, 2006-01-08 at 16:08 +0000, Paul Smith wrote:
> Dear All
> 
> I need to send a 50MB file to someone. What is the simplest way of
> doing that? I do not have any web-site to put the file for
> downloading... Any ideas? Is it complicated to setup a secure ftp
> server?
> 
> Thanks in advance,
> 
> Paul
If you have OpenSSH installed, I think it will not be complicated. But
first read the man pages for ssh, sshd and ssh-keygen ('man ssh' and
'man sshd' and 'man ssh-keygen').
On Fedora it is very likely that you have all this installed and
configured and you will have only to generate your keys.
After you have working configuration on both machines you will need just
a simple command like this: 


scp -P <portnumber> -C -i ./.ssh/id_rsa -r "username at hostname:path_to_remote_file_to_receive" path_to_local_file
to receive a file, where -P is the port on which sshd listens, -C is compression enabled, -i points to the identity file, 
-r means recursive;

scp -P <portnumber> -C -i ./.ssh/id_rsa -r path_to_local_file_to_send "username at IPaddress:path_to_remote_file"


Peter Kostov
> 




More information about the fedora-list mailing list