I have an Ubuntu box running a digital signage display in the school lobby and it needs to be reset every so often.
I’d like to make an AS app for the office manager to run on her mac to reboot the linux box (because she sits near it and knows when it’s frozen). This is easier than resetting it by hand because it’s above a drop ceiling and you have to drag a ladder down the hall to reach it.
if I do:
do shell script "ssh user:password@ubuntu-box.local"
I get
"Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: connect to host ubuntu-box.local port 22: Connection refused"
It works fine in Terminal though. Anyone done something similar?