LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2012, 12:12 AM   #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-17-2012, 12:25 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,437

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
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-17-2012, 12:51 AM   #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


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


All times are GMT -5. The time now is 08:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration