kongjianweili / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Allow commands from other apps to be forwarded to host #394

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm also looking for a similar feature as "Issue 380" where you can mark a 
specific host as to "allow commands from external apps". An intent-filter in 
ConnectBot could then listen for commands from other apps and forward them to a 
specific predefined SSH host in ConnectBot. Parameters needed would be 
"Nickname of host", "command to execute" and perhaps "parameters for command". 
If the predefined host isn't connected, the connection should first be 
initialized, and then the command should be executed.

This would allow a secure integration between android applications and 
SSH-servers. An example of this would be that "tasker" could execute actions on 
a remote host by using an SSH-connection that has been predefined in 
ConnectBot. 

Original issue reported on code.google.com by jakobeng...@gmail.com on 24 Nov 2010 at 2:40

GoogleCodeExporter commented 9 years ago
I second this feature request. I don't suppose one could bind 
stdout/stdin/stderr to streams or anything, but perhaps stdout could be cached 
and handed over to the calling app?

It'd also be great if files could be sent/received.

I'd like to use this for APG (http://code.google.com/p/android-privacy-guard/), 
where it would allow direct import of GPG keyrings via SSH, which would be 
terrific.

Original comment by oliver.r...@gmail.com on 9 Jan 2011 at 11:40

GoogleCodeExporter commented 9 years ago
it will be usefull if connectbot receive command via intents or ( aidl ) 
and execute them in lcoal shell ...!!

Original comment by issa...@gmail.com on 19 Apr 2011 at 7:57

GoogleCodeExporter commented 9 years ago
Seconded aswell. A Tasker plugin to automatically establish a ssh connection 
and execute a series of commands would be sexy.

Original comment by maxjma...@gmail.com on 1 Nov 2011 at 7:04

GoogleCodeExporter commented 9 years ago
Agree on the tasker plugin

Original comment by mitch.gr...@gmail.com on 14 Apr 2013 at 8:30