Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-17-2011, 05:50 AM   #1
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
scp command problem.

I am using fedora 10 in two computers. Just for my own practice I sent a file to my second computer.

1st computer IP is
2nd computer IP is

PHP Code:
[root@localhost root]#touch file1
[root@localhost root]# scp file1 
file1       100% |************************* |  0   00:00

Now I delete file1 in my 1st pc
[root@localhost root]#rm -rf file1 
The file has been successfully copied to the second computer but I again want to copy that file into my local computer by still sitting in my 1st computer.

PHP Code:
[root@localhost root]# scp file1  
root's password:
file1 no such file or directory
permission denied, please try again
permission denied, please try again
lost connection
[root@localhost root]# 
Kindly guide me,
Old 06-17-2011, 05:52 AM   #2
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,348

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
scp /home


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
scp command zchoyt Linux - General 10 04-02-2014 07:47 AM
Problem executing scp command: missing dependency libcrypto.a shyam16 Linux - Newbie 6 06-15-2011 03:29 AM
Translating windows pscp command to linux scp command help robward Linux - General 2 01-17-2008 06:02 AM
SCP Command yusufs Linux - Newbie 3 11-07-2007 02:44 PM
scp command problem srnerkar1 Linux - Networking 7 11-16-2005 08:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration