A no-configuration Android program to connect to your computer via SSH and put it to sleep.
-
Edit MainActivity.java to fix the IP, port, username etc.
-
Build and install on your Android device
-
Run the program. It won't work.
-
Read /sdcard/Android/data/big.pimpin.go2sleephoe/files/id_ed25519.pub and copy the line with the public key to your authorized_keys / administrators_authorized_keys
-
Run the program again. It should work.