Installed nxt/ardor on my public server and would like to have it auto mine / stake with an account. How can this be done without having to login to the gui?
On your linux box you can type the following:
curl -d requestType=startForging -d secretPhrase="PASSPHRASE" http://localhost:7876/nxt
Without curl: wget -qO- 'http://localhost:7876/nxt?requestType=startForging&secretPhrase=sssecrrretPhPhPhphrrrassssse'
You can use startForging, stopForging or getForging in order to start forging with an account, stop forging, or check that an account is forging.