These steps are to set up an ssh client
These steps assume the IP you are connecting from is allowed to connect to the server in the first place.
All steps assume dev.beacontechnology.com the same steps can be repeated for cpanel.beacontechnology.com
Go to: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Direct Download:
https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.76-installer.msi
When installing, be sure “Put install directory on the PATH…” is enabled.
cpanel.beacontechnology.com where it says Host NameYou can now click Open to open the connection
To connect to a server, just select a session in the list and click Open.
The first time you connect to a server, you will have to click Accept to acknowledge that you recognize the server fingerprint.
Key Based authentication allows the user to log in with a key rather than a password. This is more secure and allows unprompted access to the server.
Open PuTTYgen
"%UserProfile%\dev.beacontechnology.com.ppk"
When we get the key, we will install it into the file located at: $HOME/.ssh/authorized_keys
This will permit anyone with the matching private key to log in.
Right click on desktop in empty space, and click New > Shortcut
Paste in:
pageant.exe "%UserProfile%\dev.beacontechnology.com.ppk" -c putty.exe tom@dev.beacontechnology.com
Next
Name: SSH Dev Beacon
Finish
On an empty space on the desktop, right click New > Shortcut
Type the location of the item:
pageant.exe "%UserProfile%\dev.beacontechnology.com.ppk" -c plink.exe -ssh -batch tom@dev.beacontechnology.com "sudo /root/scripts/beaconsync.sh"
Click next
Type a Name for this shortcut: BeaconSync
Finish
You can now just open this shortcut to sync the databases