Shutdown Windows or Linux by network

Linux
sshpass -p "$PASSWD" ssh -o StrictHostKeyChecking=no -l $USER $IP 'init 0'


Windows

Use this command to shutdown the computer remotely:
net rpc shutdown --ipaddress ip --user username%password

Add -r if you want to restart, not shutdown:
net rpc shutdown -r -f --ipaddress ip --user username%password

Certificate - PEM to PKCS12

  Convert Lets encrypt PEM to tomcat PKCS12  openssl pkcs12 -export \ - in fullchain.pem \ -inkey privkey.pem \ -out server.p12 \ -...

Mais vistos