LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Having trouble copying directories to remote machine using scp (https://www.linuxquestions.org/questions/linux-general-1/having-trouble-copying-directories-to-remote-machine-using-scp-4175478986/)

mothergoose729 09-29-2013 04:01 PM

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

mothergoose729 09-29-2013 04:18 PM

Doh, misspelled the name of a shell variable -_-. Marked solved.


All times are GMT -5. The time now is 07:28 PM.