LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-29-2013, 04:01 PM   #1
mothergoose729
Member
 
Registered: Aug 2008
Distribution: Ubuntu x64
Posts: 118

Rep: Reputation: 19
Having trouble copying directories to remote machine using scp


This is a silly question, but I can't for the life of me figure out what I am getting wrong in the syntax. I am trying to copy a directory on to my schools remote server from my host machine. I am using the command

scp -r /somedirectory my_user_name@my_shool's_server:~

the target is the root directory on my user account.

Using that command, shell spits out:
ssh: could not resolve hostname: Name or service no known
lost connection
 
Old 09-29-2013, 04:18 PM   #2
mothergoose729
Member
 
Registered: Aug 2008
Distribution: Ubuntu x64
Posts: 118

Original Poster
Rep: Reputation: 19
Doh, misspelled the name of a shell variable -_-. Marked solved.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] scp error while copying files between two remote computers austinium Linux - Newbie 7 02-16-2014 09:27 AM
[SOLVED] Copying file from another machine with scp and smbclient SibBear Linux - Networking 2 06-02-2012 08:10 AM
[SOLVED] How can I ssh/scp into a remote's machine local machine? venom4u31 Linux - Newbie 6 11-05-2011 01:36 PM
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
SCP copying directories between servers astrollama Linux - Software 5 10-13-2006 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:15 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
Open Source Consulting | Domain Registration