How to copy a file from server /root to my PC

October 28, 2014 2.3k views

Hello:

How do I copy a file that is living in the root directory of my CentOS droplet server to my PC's desktop?

Thank you,

Rob.

2 Answers

You can use an sftp client, or an scp client like WinSCP (which is what I use).

install WinSCP or FileZilla, and select SFTP/SCP (depending on which application you're using) and create a new profile. For the user, use "root". They both allow usage of shared keys, so if you're using shared keys, you can add that key to the program.

From there, log on as usual. they give you a nice, graphical solution.

If you need more details, let me know. I'm trying to keep the answer a little vague, because I'm assuming you have a fair bit of knowledge, but just not with scp.

Have another answer? Share your knowledge.