The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script to capture new lines in a file and copy it to new file fara_aris Shell Programming and Scripting 0 05-27-2008 07:11 PM
Shell script to search for text in a file and copy file imeadows UNIX for Dummies Questions & Answers 8 04-20-2008 01:41 PM
Copy File JuergenW UNIX for Dummies Questions & Answers 2 09-09-2002 05:17 AM
using C to copy a file ... abdul High Level Programming 1 09-11-2001 05:36 AM
% File Copy Enda Martin UNIX for Dummies Questions & Answers 2 08-30-2001 03:26 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2008
Registered User
 

Join Date: Jun 2007
Location: hyd
Posts: 1
How to copy file through ssh

Dear friends,

i am new to this field, i need help
i want to copy file from ser-a to ser-b but in middle 3 gateway servers are there. how to scp the file from ser-a to ser-b.

Thanx

Regards
tikka
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-18-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,203
can you ssh from ser-a to ser-b?
Reply With Quote
  #3 (permalink)  
Old 03-18-2008
Registered User
 

Join Date: Feb 2008
Posts: 21
Hi,

If your servers, ser-A & ser-B were linked by public key authentication means, you can transfer the files between ser-A & ser-B using "sftp" command. If the public key authentication is not enabled between these 2 servers means, you can use "ftp" to transfer the files.

sftp does not require user_id & password, but ftp requires both.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0