LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-16-2012, 11:12 PM   #1
abhinav4
Member
 
Registered: Jun 2010
Location: India
Distribution: Fedora/Cent OS
Posts: 123

Rep: Reputation: 0
Exclamation Unable to scp


While copying files from 1 server to another i am getting the following message. The file do exists in the source machine.

[root@testing1 yum.repod.d]# scp root@10.20.52.104: /etc/yum.repos.d/fedora.repo .
root@10.20.52.104's password:
scp: .: not a regular file
cp: cannot stat `/etc/yum.repos.d/fedora.repo': No such file or directory
 
Old 04-16-2012, 11:25 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Code:
scp root@10.20.52.104: /etc/yum.repos.d/fedora.repo .
Try removing the space character between the colon and the forward slash before etc.
 
Old 04-16-2012, 11:51 PM   #3
abhinav4
Member
 
Registered: Jun 2010
Location: India
Distribution: Fedora/Cent OS
Posts: 123

Original Poster
Rep: Reputation: 0
Oh my that was just a silly mistake.
Thanks,
 
  


Reply



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
Unable to SCP shravee AIX 3 03-17-2011 01:08 PM
Unable to scp to fedora 12 Machine? your_shadow03 Linux - Newbie 1 01-28-2010 12:46 AM
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
scp error: xset: unable to open display "" [KIA]aze Linux - Networking 0 07-14-2007 04:18 PM
unable to scp... latino Linux - General 2 03-05-2005 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:20 AM.

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