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?

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.

×
1 answer

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

Submit an Answer