Hi All,

I'm not sure that this is exactly a web2py question, but it seems like this 
is where the smart people hang out so I'll post here in hopes of some help.

I am trying to execute a command like this from within a web2py page:

ssh pi@remotehost.local /etc/scripts/script.sh parameter1 parameter2 >> 
/etc/scripts/logs/script.txt

I have ssh keys installed so the user pi can log in to remotehost.local 
password free and it works from the terminal

However, I have web2py installed in apache using this script:

http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh

So I think it is a user/permissions/account issue that I am not sure how to 
troubleshoot.

Any ideas or suggestions?

Jason

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to