0

I created a chaincoin masternode on a VPS running Ubuntu 14.04. It uses an SSH cert I created to secure it. Now I would like to download my wallet.dat file from the server onto my local machine. I know the file path in ubuntu but as this wallet.dat file contains valuable cryptocurrency I want to make sure I don't mess it up. I used this guide: http://www.chaincoin.org/Setting%20up%20a%20Chaincoin%20Masternode%20-%20draft%20v.04.pdf to setup the node - so you can see exactly what's on the server.

Thanks in advance :)

lotfio
  • 822
FuzzyBlue
  • 1
  • 1
  • 2

1 Answers1

1

You said you use windows, but not which version of windows. Windows 10 has Linux subsystem. If you have Windows 10, the link should show you how to enable/use Linux subsystem under windows 10. Once you have it setup and running, you can use a program under Ubuntu called rsync to securely download file from remote linux server using ssh like this:

rsync -chavzP --stats user@remote.host:/path/to/copy /path/to/local/storage

rsync ensures integrity of the file, ssh ensures file transferred securely.

There is a second easier way to do it. but it's not too secure and file might get corrupted, if it's a large file and your internet line is dodgy.

Install apache web server on remote server sudo apt install apache2 then cp your wallet file to apache root folder like this: cp wallet.dat /var/www/html after that just open you browser and download the file by going to http://your ip of server/wallet.dat.

Hopefully one of the method works for you.

pa4080
  • 29,831
bran
  • 629