davilla / atvusb-creator

Automatically exported from code.google.com/p/atvusb-creator
27 stars 53 forks source link

Cannot send commands via SSH #219

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From Terminal on a Mac with RSA keypairs exchanged with the AppleTV,
type "ssh frontrow@appletv.local 'sudo ls'"
2. bash reports that sudo: ls could not be found
3. You can issue many other instructions (try "ssh frontrow@appletv.local
'ls'"), inline, but useful ones like 'sudo shutdown -h now' or 'sh
./somescript.sh' do not work

What is the expected output? What do you see instead?
When using regular SSH (via a previous, hand-made patchstick), this works
fine, allowing me to automate a nightly *clean* shutdown of my AppleTV. But
when using SSH "via atv-usbcreator" I can't do any automated commands.

What version of the product are you using? On what operating system?
Patchstick 1.0b10 on AppleTV OS 2.3

Please provide any additional information below.
http://software.jonandnic.com/hack/using-applescript-and-a-shell-script-to-resta
rt-an-appletv-remotely

PS: Great job on the Patchstick makers, guys. Hugely helpful!

Original issue reported on code.google.com by jonathan...@gmail.com on 6 Jan 2009 at 7:50

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sdavi...@gmail.com on 30 Jan 2009 at 5:42