Ticket #4698 enhancement closed fixed
client endpoint: command executed over ssh using Twisted Conch
| Reported by: | exarkun | Owned by: | exarkun |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | conch | Keywords: | endpoint |
| Cc: | Branch: |
branches/sshcommandendpoint-4698-4
(diff, github, buildbot, log) |
|
| Author: | exarkun | Launchpad Bug: |
Description
It should be possible to create a client endpoint like this:
clientFromString('ssh:host=example.com:port=22:username=alice:privateKeyFile=~/.ssh/id_rsa:command=cat /etc/passwd')
The password argument should also be supported.
This endpoint would establish an SSH connection to the specified address and execute the specified command. The endpoint would connect the protocol to the stdio of the executed command.
Change History
Note: See
TracTickets for help on using
tickets.
