Report this

What is the reason for this report?

Why can't I push changes made to HTML local files?

Posted on July 18, 2018

Built a website and trying to push changes I made to my files locally. The file is in the main user folder of my laptop. Using this command scp -r ~/filepath root@000.00.00.00:/var/www/domain my changes don’t get pushed. Instead it runs through the same files over and over again until I have to close out terminal or my laptop dies. I’m working on a MacBook Pro using iTerm. No errors pop up it’ll just keep running through the same files over and over. Website is on a deadline so please advise!



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.

Hello friend!

I must admit that I’ve not personally witnessed SCP looping like that. My first instinct is to ask if there is a symbolic link in the directory which might be followed and then causing a loop. I think addressing the reason for that is probably the most important one to start with.

Kind Regards, Jarland Platform Support Lead

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.