0

I need to send a pdf file (outputted from a gpu and situated) in a remote server to my local (mac) machine. I have tried through my local terminal and received errors for each attempt. the terminal text input and output has been provided below

1.

 scp remote:~/path/file.pdf /local/

error

/local: Permission denied
scp -r remote:~/path/file.pdf /local/

error

/local: Permission denied
  1. scp -r -P 8888 remote:~/path/file.pdf /local/

error

ssh: connect to host remote port 8888: Connection refused

Although this question has been posted several times before, I have tried the suggested correct solutions and still have been unable to execute my task. Any solution or direction in this task will be highly appreciated. Thank you

sv98bc
  • 11
  • 1
  • 6

1 Answers1

0

your local directory should be something ~/foo/bar.pdf

to download the file in your home, local directory, as bar.pdf

/ means root mont point and /local/ is a directory in root, and you may have no permission to modify it

take a look at this:

https://stackoverflow.com/a/11304926/9287628

Abilogos
  • 4,777
  • 2
  • 19
  • 39