Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send files from 1 Linux to another via internet

Status
Not open for further replies.

wbstrider

Programmer
Mar 2, 2001
78
US
I have two offices. I am replacing Novell servers with Linux.:eek:)

Would like to research any 'keywords' you might give me so I can learn how to set up the two new linux servers to send a file back and forth during the day/night.

I don't want a VPN. I only want to send files back and forth. (we are currently using email to do this)

Anxious to learn. Thanks for your help.

One Code to rule them all, One code to bind them.
 
Set up an ftp server?

_____________________________
when someone asks for your username and password, and much *clickely clickely* is happening in the background, know enough that you should be worried.
 
so I may be ignorant (no, i am ignorant i admit it!)

I would like to read about it, do I google ftp... that's hopeless too many choices.

thedaver gave openvpn link I liked that idea.

Do you have any links I could research to learn 'howto' set up the ftp from one linux server to another privately.

Thanks...

One Code to rule them all, One code to bind them.
 
actually searching on google is a very good idea as it will help you learn to use the tool to find solutions for future questions.

But I would suggest using as it will provide results as it pertains to linux rather than the search topic in general. ;)

You should also find out which ftpd is running on your Linux Distrobution. and search for information regarding setting that up rather than 'ftp' which is a very general search.

Doing so will also provide you will configuration options for the daemon that's currently setup on your system rather than a generic 'how to' on FTP services
 
STOP, don't setup FTP if you don't need to. Use 'scp'

'scp' is the secure copy tool from the openssh project. It comes with virtually any installation of openssh you'd install from .RPM or source.

Simply enabled an openssh daemon on each box and use "scp" to copy the files.

How easy is it?

Let's copy file "rules.txt" from host "source" to host "dest" using a login for dest's user "fred"

On the local machine "source", type:

scp rules.txt fred@dest:.

then supply fred's password on the remote machine "dest".

You can even get nutty and copy a key generated on source to fred's account on dest, which will allow for file transfers without typing a password. This is ideal for CRON or application-based file transfers.

BEST OF ALL, IT'S SECURE! FTP is not secure!







Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
Well, look at "rsync" for unidirectional transfers, it can be used over SSH as well.

My favourite though is "unison", simply because it does bidirectional transfers, very handy if you want to keep a mirror of files/directories between 2 servers. Also usable via SSH.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
Try scp, it works quite well. Here's a reference just made. Should I write a FAQ on this?:
thread54-670728
 
Thanks to all!!

You have pointed me in the right direction. I will delve into them...:eek:)

One Code to rule them all, One code to bind them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top