Report this

What is the reason for this report?

Download files via console, port access has change

Posted on January 22, 2019

I am using Digital ocean + server pilot running wordpress. I had SSL set up through a dev company, but it didn’t work for http/ www redirect. I asked them to go in and fix. They said they couldn’t do their regular fix because server pilot configuration.

Later, I went to access the website and it was down. I then tried to access via SFTP and could not connect. I tried to restart apache but it showed errors. I have the suspicion the port access was somehow changed.

I have backups and DB backups in the file system, but I can’t figure out how to get to them. I can access the server via digital ocean console. I would like to spin up a non-serverpilot droplet and transfer the files and database to the new server. How can I access my files and backups?

  1. Change port back to 22?
  2. Download files from digital ocean console access?


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.

Hi

Since you’re able to access the server through the console, you can start an scp or rsync from the console to your new server. Something like this should do:

scp -oPort=SSH_DESTINATION_PORT backup.tar.gz user@DESTINATION_IP_ADDRESS:/home/

Cheers

Something like this? Or should I be using my computer IP address? If I am moving files to the new server, don’t I have to log in or something to put a file into to the new server?

scp -oPort=22 backup.tar.gz root@NEW_DROPLET_IP:/var/www/html

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.