After the tutorial on how to set the OUYA to 720p, I’ve been looking for a way to make the configuration simpler, without having to edit the build.prop file.
On a router that I have here that I use as a DLNA and file server for the OUYA using NFS, I send commands via SSH to activate/deactivate the DLNA and NFS server and eject the USB flashdrive and I know that I can do the same thing with OUYA, using the SimpleSSHD apk.
about the apk, from the F-droid website:
“SimpleSSHD is an Android SSH server application, based on Dropbear, written by Greg Alexander.”
The creator’s website: http://www.galexander.org/software/simpleshd/
Both versions on the F-droid website and the creator’s website don’t work on OUYA, so we must find the last version compatible with OUYA, version 21.
Note: I uploaded to the archive.org a compatible version.
After installing it, go to “MAKE → SOFTWARE” section and run the program.
ATTENTION: DON´T EXIT OF THE PROGRAM NOW!
Let’s set it up, because SimpleSSHD normally only work with authorized_keys.
You should put inside this file the pub keys of the machines/programs that you will use to access the OUYA.
Windows users can follow this tutorial to create the keys.
ATTENTION: I really don’t know why, but on my machine I can only use ecdsa keys with a length of 256 bits. Using Mercury SSH on my android phone I can use rsa keys with 2048 bit length. If you have problems with an rsa key try using an ecdsa key
After creating the keys, just open the file with the .pub extension in Notepad (yes, it’s just a plain text file) and copy and paste the contents into the authorized_keys file following these steps:
- Press “i” on your keyboard;
- Paste the content;
- Press “esc” on your keyboard;
- Type :wq end press “Enter” on your keyboard.
Now type exit and try to connect again. If you’ve done everything right, you’ll connect without having to enter a password.
But the best part is you can send commands to OUYA like mount NFS shares .
Before I had to use an apk to run a script on OUYA and mount my NFS share, but now I can pass the same command through ssh:
Another positive point is that I didn’t have to manually create files or folders on the system partition.
The same thing can be done to change the OUYA resolution from 1080p to 720p and vice versa, which previously needed to be done via build.prop file or even via adb, necessarily on the computer. Using SSH, the change is on the fly:
I recommend using Mercury SSH program, so you have a remote control for OUYA on your phone:
You can also send files using the scp command.