Visit Our UNIX and Linux User Community


how to cp between servers on diff network


 
Thread Tools Search this Thread
Special Forums IP Networking how to cp between servers on diff network
# 1  
Old 06-28-2009
how to cp between servers on diff network

Hi,

how can i sftp or scp between 2 servers, when only i am able to ping to them.
they are on different network
10.130.170.31 -- server 1
10.130.230.141 -- server 2

i need to transfer data files from 1 to 2.
need your suggestions or help on these.

Regards
saha
# 2  
Old 06-28-2009
Read manul of ftp,sftp, rcp.
Using ftp, you could just put or get a filename.
Code:
man ftp

# 3  
Old 06-28-2009
yes i try to sftp, ftp to the server2, but unable to get connected.
sftp user1@gcadminst.gc.org
Connecting to gcadminst.gc.org...................
but never gets connected, i tried with scp,ftp too.
# 4  
Old 06-29-2009
Quote:
Originally Posted by saha
yes i try to sftp, ftp to the server2, but unable to get connected.
sftp user1@gcadminst.gc.org
Connecting to gcadminst.gc.org...................
but never gets connected, i tried with scp,ftp too.
This most likely means that there are no daemons/listeners on the remote server. You will need to contact the system administrator of those servers and setup some sort of data transferring software - this could be OpenSSH's sftp, or some FTP server, as suggested above.
# 5  
Old 06-29-2009
thank you, i will followup with the system guys.

Previous Thread | Next Thread
Test Your Knowledge in Computers #366
Difficulty: Medium
Bill Joy was responsible for creating the third BSD Unix release in March 1978.
True or False?

9 More Discussions You Might Find Interesting

1. Ubuntu

Network Manager not setting correct DNS servers

Since a few weeks i use Ubuntu 16 on my laptop: # uname -a Linux xxxx 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Because i want to use a custom name server i set the properties in the "Edit Connections" dialogue to the following: ... (2 Replies)
Discussion started by: bakunin
2 Replies

2. UNIX for Advanced & Expert Users

Diff on remote servers file systems

Iam trying to compare two file systems on two hosts basically to check them to be in sync I dont have rsync so trying to use diff Let me know how to do it.... Thanks (3 Replies)
Discussion started by: baanprog
3 Replies

3. IP Networking

Help with to check the tcp network connectivity between servers and hosts

ello, i am new to the networking side. I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination. please help me where i am going wrong. my code: #!/bin/bash #read the file line by line cd "$1" cat... (17 Replies)
Discussion started by: sknovice
17 Replies

4. UNIX for Dummies Questions & Answers

Need network info of servers

Hi, Need to Collect IP Details in the following format ServerName ; IPADDR1 ; NETMASK1 ; IPADDR2 ; NETMASK2 ; IPADDR3 ; NETMASK3 ; Could you please give me the suggesstions. Thanks (1 Reply)
Discussion started by: rajasekg
1 Replies

5. Shell Programming and Scripting

Comparision of two directories of diff servers

Hi All, I have transferred some directory structures from server1 to server2 by creating a tar files. Now i need to cross check whether I transferred entire structures or not. Is there any command to check this on each individual server. Thanks (2 Replies)
Discussion started by: nag_sathi
2 Replies

6. AIX

Script to add .profile from one server to all other servers in the network

Hi experts, I am an AIX/Unix admin in my company. I have been asked by one user to distribute .profile from one server to all other servers in the network. This is what she has asked me: "Is there a way for me to save and use one .profile that I have personalized with aliases for all my... (4 Replies)
Discussion started by: uzair_rock
4 Replies

7. Shell Programming and Scripting

Same KSH behaving differently on diff servers

HI all I have written a ksh to execute PL/sql procedure and generate the log file. The script is working fine to the extent of calling the taking input, executing PL/SQL procedure. On one server the log file is getting generated properly. i,e it shows the DBMS output . The log file size was... (9 Replies)
Discussion started by: ramakrishnakini
9 Replies

8. UNIX for Dummies Questions & Answers

tool scan my network and get all Unix servers

Hello, is there any tool where I can scan my netwrk and get all types of Unix servers? (2 Replies)
Discussion started by: fsmadi
2 Replies

9. AIX

Problem with NFS mount and network configuration between AIX and Windows 2003 servers

I m beginner on unix I want to move an unix aix post 5.2 on distant site for use catia V4 with a foundation of data accommodated by a serveur windows 2003 and an environment accommodated on the serveur aix. The computer was linked up by IP (122.0.0.8) with waiter 2003 (via NFS) and the waiter... (8 Replies)
Discussion started by: astiaous
8 Replies

Featured Tech Videos