Copy_Files_Server_Cli

SCP

Use command scp

scp from remote to local using a single file .

scp remoteuser@remoteserver:/remote/folder/remotefile.txt  localfile.txt

Copy a single file from local to remote with scp.

scp myfile.txt remoteuser@remoteserver:/remote/folder/

ssh/copy-file

SO | copying-files-from-server-to-local-computer-using-ssh

SO | subsystem-request-failed-on-channel-0-scp-connection-closed-macbook