sentimeunacosa sentimeunacosa
Bookmark

How would be the syntax to scp a file to my computer?

Posted January 6th, 2019    1174   0  

I'm trying to bring files from the seedbox to a computer I use as a server here at home. That one uses Ubuntu, and I access it through my mac, on a terminal after sshing into it.

2 Replies

tony
tony
Staff
Accepted Answer

the command would be

scp /path/of/file/to/transfer username@remoteserverhostname:/path/to/place/file/

if you want to transfer a folder recursively, then you can use the -r option:

scp -r /path/of/folder/to/transfer username@remoteserverhostname:/path/to/place/folder/

KiralyCraft
KiralyCraft

I suggest using a SSH client that supports SFTP. I'm using Bitvise SSH on Windows, but there is something similar for Mac: https://www.ssh.com/ssh/cyberduck/