Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-29-2013, 04:01 PM   #1
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
Registered: Aug 2008
Distribution: Ubuntu x64
Posts: 118

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


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 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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:10 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