Scp Help Needed !!!!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Scp Help Needed !!!!
# 1  
Old 09-19-2006
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 06:43 PM..
# 2  
Old 09-19-2006
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  
Old 09-20-2006
Is there any other way to copy files/directory from one IP address to another IP address?

thank you
# 4  
Old 09-20-2006
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to use scp?

How to copy multiple directories using single command on solaris 10 from server A to server B. I tried scp but its working only one directory at atime How to acheive this with simple and short solution????? (6 Replies)
Discussion started by: buzzme
6 Replies

2. UNIX and Linux Applications

Need help with scp

Hi, I am trying to do scp from server A to server B. But while doing the scp i am getting the following message. +-----------------------------------------------------------------+ | This system is for the use of authorized users only. | | Individuals using this computer system... (6 Replies)
Discussion started by: sidh_arth85
6 Replies

3. Shell Programming and Scripting

SCP

Hi All, Please help on the below command scp -r 'directory name'inrvgo@IP:/export/home/muthu/prod_12-09-2010 I am trying to copy a directory from one server to another server using the above command but its displaing the error (missing destination file) but the diectory was there in the... (1 Reply)
Discussion started by: thelakbe
1 Replies

4. AIX

scp

1. how to move files in a directory using scp ? 2. how to move the entire directory ? 3. Will the file and the directory permissions affect scp usage? (1 Reply)
Discussion started by: samsungsamsung
1 Replies

5. Red Hat

scp with su

Hi Friends, I am trying to copy some files over the network in between my linux servers. I am using scp command for this. by default direct ssh root login is disabled on all of my linux servers. Normaly we used to login as a normal user and the su to th root user. unfortunately root user is... (1 Reply)
Discussion started by: arumon
1 Replies

6. Shell Programming and Scripting

Is this possible with SCP?

I normally download a directory recursively using: scp -r <name>@host:<path> . This has worked fine. As everyone knows this will download all of the directory named in <path> and all of the sub directories. I would like to know if it is possible to not download a particular file if it... (5 Replies)
Discussion started by: cpabrego
5 Replies

7. Shell Programming and Scripting

scp

hi can any one pls tell me how to copy a file from a remote host to the same remote host with a timestamp, i need to use only scp. thnks (4 Replies)
Discussion started by: bkan77
4 Replies

8. UNIX for Dummies Questions & Answers

scp

How do i use scp to copy a file from my home directory on a server I am logged into, to the computer I am using? I thought it would be something like: scp filename mycomp.company.org Thanks. (2 Replies)
Discussion started by: ignus7
2 Replies
Login or Register to Ask a Question