Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-09-2003, 08:37 AM
|
#1
|
Member
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Rep:
|
Sending data from one server to the other
What other ways exist, other than FTP, to transfer some file from one server to another? Someone suggested me to use 'http' POST.... is this correct?
thanks, ganninu.
|
|
|
12-09-2003, 09:29 AM
|
#2
|
Member
Registered: Jan 2003
Location: Sweden
Distribution: Slackware
Posts: 54
Rep:
|
In case you have shell-access and ssh.
To server:
scp localfile user@host:/path/to/save/file
From server:
scp user@host:/path/to/file localfile
|
|
|
12-09-2003, 09:48 AM
|
#3
|
Member
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
|
Let's say that Server A is contains some sensitive data, including the file to be transferred, whilst Server B is not-so-critical and will receive the file (a text file) - which is the most secure method from the two you mentioned above?
PS: I don't have ssh yet.
|
|
|
12-09-2003, 09:52 AM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by ganninu
Let's say that Server A is contains some sensitive data, including the file to be transferred, whilst Server B is not-so-critical and will receive the file (a text file) - which is the most secure method from the two you mentioned above?
PS: I don't have ssh yet.
|
If you don't have ssh setup probably the best way is to just FTP or you can possibly setup NFS. You could setup rsync, etc. The best method I would think is what was mentioned first with scp if your wanting it securely.
Regards.
|
|
|
12-09-2003, 09:57 AM
|
#5
|
Member
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
|
Yes i am interested in using scp.... I don't want to trade security for anything else. Do you recommend some articles/text?
|
|
|
12-09-2003, 10:52 AM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Not sure of any tutorials but there's always the man pages: http://www.die.net/doc/linux/man/man1/scp.1.html
google.com/linux search had tons of hits as well, could find something useful that way.
|
|
|
12-10-2003, 06:06 AM
|
#7
|
Member
Registered: Jan 2003
Location: Sweden
Distribution: Slackware
Posts: 54
Rep:
|
Go to the OpenSSH official homepage and look at the FAQ and other documentation. Of course you can fetch the latest version of ssh (scp is included in the ssh package) from there aswell.
|
|
|
All times are GMT -5. The time now is 10:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|