I was given limited instructions from my freelance webdeveloper.
Using Windows Powershell or Visual Studio I can connect to my site using
ssh root@ip address
This takes me to the root folder. I then type in cd /pathname/ (the actual path to where my source code is stored)
This takes me to the folder where my source code is at but I do not know how to extract/export/download/copy or any other method of getting my source code. I need to make some changes and the I will need to also know how to load those changes back?
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!
Hi @MattRemoteFNI,
You can use scp or rsync to copy your files to your local machine. Let’s say you are using Visual Studio’s terminal. What you can do is the following :
scp -R root@XXX.XXX.XXX.XXX:/path/to/web/root /local/path/to/coppy
This will copy the WebRoot folder to your local machine.
Ofcourse please remember to chance XXX.XXX.XXX.XXX with your actual IP as well.
Once you have made the changes you can again upload them with scp :
scp -R /local/path/to/copy root@XXX.XXX.XXX.XXX:/path/to/web/root
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.