| View previous topic :: View next topic |
| Author |
Message |
enyone neophyte
Joined: 30 Jan 2005 Posts: 1 Location: Finland
|
Posted: Sun Feb 06, 2005 11:36 am Post subject: Sending an external commend to mldonkey process |
|
|
How can I send an external command to mldonkey process?
e.g. I want to get a list of current downloads and statuses using
SSH (bash)... I don't want to start telnet connection or http-connection...
Is this possible
I want to create an own perl script which shows a list of
current downloads on bash. |
|
| Back to top |
|
 |
pango Sage

Joined: 31 Oct 2002 Posts: 2436
|
Posted: Sun Feb 06, 2005 12:41 pm Post subject: Re: Sending an external commend to mldonkey process |
|
|
| enyone wrote: | How can I send an external command to mldonkey process?
e.g. I want to get a list of current downloads and statuses using
SSH (bash)... I don't want to start telnet connection or http-connection...
Is this possible |
How would you send commands without a connection ? Of course you need one.
That said, the connection can be carried thru ssh.
Either setup a permanent SshTunnel, and use the tunnel entry to send TelnetCommands as if the daemon was running locally;
Or, replace each "netcat" call in TelnetCommandScripts with ssh remotebox "netcat ...".
You'll probably need host key authentification so that ssh connections can be established non-interactively, especially in the 2nd case. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © phpBB Group
|
|
|
|