3
rated 0 times
[
3]
[
0]
/ answers: 1 / hits: 14856
/ 3 Years ago, tue, may 4, 2021, 12:34:28
I am trying to copy a .tar archive from remote server to my pc.
Directory of the archive that I want to copy:
canserhan@embserv:~/tar_files/rtl_archive.tar
Destination:
serhan@serhan-Lenovo-B560:~/Documents$
I connect to remote server and use the command:
canserhan@embserv:~/tar_files$ scp canserhan@embserv:~/tar_files/rtl_archive.tar serhan@serhan-Lenovo-B560:~Documents$
Password:
ssh: serhan-Lenovo-B560: Name or service not known
lost connection
canserhan@embserv:~/tar_files$
There must be something wrong with the scp syntax I am using. However I could not figure it out. Could you please help me?
Thanks.
More From » command-line