I have a folder on a Linux server and I have to transfer that file from there to my Mac desktop. I have never done it.
What is the best way to do that? I am trying to use terminal but is there any tool like WinSCP to do that?
linuxmacos
I have a folder on a Linux server and I have to transfer that file from there to my Mac desktop. I have never done it.
What is the best way to do that? I am trying to use terminal but is there any tool like WinSCP to do that?
Best Answer
Install openSSH on the linux server. Assuming a debian based distribution, do this:
Open a terminal and copy the files:
i. From Linux to Mac (run from the Linux machine):
ii. From Linux to Mac (run from the Mac):
The general syntax of the
scp
command is the following.To copy a file from the local server to the remote one:
To copy a file from the remote server to the local one: