I'm trying to copy a file using secure copy and I can't find a way to make it work.
I used SSH to connect to remote host and tried to push file to local client and also tried to pull file from local client. Neither way is working. I either get unable to resolve host message, cannot stat file, or connection time out. The name of the file is config.sys and I am using the following format:
scp config.sys jaraxle@localhost:/home/jaraxle/config.sys
I have also tried to copy file into root directory:
scp config.sys root@localhost:~/
Neither way is working. This is my first time using scp but the instructions seem clear and I don't see what I'm doing wrong.