Why not use SSH keys where you are?
Maybe a VPN to connect to so you can do it via that IP?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm now looking after a few digital ocean servers and occasionally I need to reboot one of them remotely.
I'm using forge and at present I have only added keys for my main development PC. I connect with gitBash. I also keep the su passwords in a secure,but separate, file.
If a server needs rebooted I therefore have to be physically on my dev PC or I have to use something like teamviewer to connect to it. Its a pain. I feel like there should be a simpler solution?
Also - possibly related - are there such things as password managers that work with gitbash (or similar) on windows 10?
Hey, I'm a Community Manager @ DO. Rebooting should not require you to actually log into your droplet. The API supports rebooting and a soft reboot is sent before anything is forcefully shut down. You can control your droplet via the API using one of many 3rd party apps . This will allow you to remotely reboot your droplet(s) from your phone wherever you are.
Please or to participate in this conversation.