The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help needed nnayagam Shell Programming and Scripting 2 03-07-2008 06:34 AM
Little help needed. Netghost AIX 5 08-10-2006 02:29 PM
Help needed dsravan Shell Programming and Scripting 2 07-20-2006 09:37 AM
awk help needed. cskumar Shell Programming and Scripting 0 07-20-2006 07:24 AM
Sed help needed stevefox Shell Programming and Scripting 5 12-05-2005 01:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-19-2006
scooter17 scooter17 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 11
Scp Help Needed !!!!

I have never used SCP.
How do I use SCP command to transfer files/directory?

I am trying to move the file from IP address of 10.876.9.876 to IP address of 15.853.2.987.

I actually tried it with this script :

scp secure.ksh 15.853.2.987:
ssh: connect to host 15.853.2.987 port 22: Connection refused
lost connection

I also tried with a different IP address and got : Permission denied.

why is this happening? what do i need to do to fix this and make this work?


Thank you

Last edited by scooter17; 09-19-2006 at 05:43 PM..
  #2 (permalink)  
Old 09-19-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
scp secure.ksh 15.853.2.987:
ssh: connect to host 15.853.2.987 port 22: Connection refused
lost connection
That server isn't running sshd - this means you can't use scp to copy to that server.

Quote:
I also tried with a different IP address and got : Permission denied.
This server may have sshd running but you either didn't have an account on that server or used the wrong password when connecting.
  #3 (permalink)  
Old 09-20-2006
scooter17 scooter17 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 11
Is there any other way to copy files/directory from one IP address to another IP address?

thank you
  #4 (permalink)  
Old 09-20-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
Well if an ftp server is running you can ftp the files to the system. If you can get to the console, you can ftp files from where the files are to the system. If telnet is running on the server you could telnet in and paste the data from your clipboad to a vi session on the server (assuming straight text data of course).

Carl
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 03:55 AM.


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