Search : in
By :

Need to transfer a folder from ServerA to Ser

Last answer on Feb 27, 2008 12:31:52 pm GMT pensium, on Feb 27, 2008 10:08:02 am GMT 
 Report this message to moderators

Hello,



there has 2 Linux servers, we called it ServerA and ServerB in different location. ServerA has a folder which contain different type of file (jpg, zip, doc ...etc) and it need to transfer to ServerB. Both server is runing SSH.

1) FTP is not working on it becasue SSH
2) SFTP can't run on it because i m transfer a folder, not a file

and I believe the only chance is using scp, is anyone know the command line to running this . thx


example :(john is the folder need to be transfer)



thanks for helping me out

Configuration: Windows XP
Internet Explorer 6.0

Best answers for « need to transfer a folder from ServerA to Ser » in :
File transfer via SSH Show SSH - Secure SHell SSH allows the use of pipelines controls, and use inputs / outputs pipes as any other commands , on the basis that redirection is done to or from the remote machine. This may be used to transfer files: ssh server...
Mail Transfer- Mail Forwarding ShowMail Transfer- Mail Forwarding Transferring your email on your different mail accounts In the case that you have several email addresses and want to receive all your mail to the same address. Simply enable the "mail forwarding"...
The purpose of having a server for your company ShowThe purpose of having a server for your company The purpose of having a server in your company? The functionality of an enterprise server Mail server File Server Dynamic web server Security Telephony/fax/printing server You...
The Proxy Server ShowWhat is a Proxy? Filtering Authentication Storage of Logs A proxy server can be a computer or a module that acts as a go-betweens between a Web browser and the Internet. The proxy is involved in network security. Proxy servers...
Download Active Phone Server ShowDescription The application is designed by SoftCab, Inc. So far this application is well known worldwide for its perfection. It has won awards in certain places and it is being used by companies also. Active Phone Server is an application based on...
Club-Internet - Internet service providers ShowIncoming mail server POP Server: pop3.club-internet.fr IMAP Server: imap.club-internet.fr Outgoing mail server SMTP Server: mail.club-internet.fr Domain name servers Primary DNS: 194.117.200.10 Secondary DNS: 194.117.200.15
Web server attacks ShowVulnerability of web services The first network attacks exploited vulnerabilities related to the implementation of TCP/IP protocol suites. With the gradual correction of these vulnerabilities, attacks have shifted to application layers and...
Server integrity check ShowIntegrity check When a server has been compromised, the hacker usually covers his/her tracks by deleting all records of his/her activity from the logs. Additionally, he/she installs some tools to enable him/her to create a backdoor, in order to...

1

unik1, on Feb 27, 2008 10:08:46 am GMT
  • +2

Ssh has nothing to do with ftp. Both can work simultaneously. Here is the usage



cheers hope this will help!

Reply to unik1

2

 [Dal], on Feb 27, 2008 12:31:52 pm GMT
  • +1

Something might be missing ;-)

To get help on the usage of a Linux command, you use the manual pages. For "scp", you type this in a terminal:

man scp

Now, as an example, suppose that your data is on ServerA under /home/john/ and you want to transfer it to ServerB logging in ServerB as user "paul" and saving the data under an existing directory located there /home/paul/john-bak/, you would do this on ServerA:

cd /home
scp -r john/ paul@ServerB:/home/paul/john-bak/



Dal

Reply to [Dal]