I was running a node on my vps and my coinbase account was hacked. could anyone tell me what would be the default command to start geth on port 8545. Thank you
Do not unlock account on rpc provider node. If you are mining from same node, use separate nodes for mining and rpc. Connect them as peers and they will be safe from such attacks.
You can run geth on default setting provided you follow the secure procedures.