Report this

What is the reason for this report?

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

Posted on October 28, 2014
Rob

By Rob

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.