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 and shell scripting languages here.

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2008
tikka123 tikka123 is offline
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
  #2 (permalink)  
Old 03-18-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,993
can you ssh from ser-a to ser-b?
  #3 (permalink)  
Old 03-18-2008
apsprabhu apsprabhu is offline
Registered User
  
 

Join Date: Feb 2008
Location: India
Posts: 45
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0