Closed fdefilippo closed 3 years ago
As far as I am aware the SFTP protocol offers no such functionality.
Since packets are bundled into discrete function packets, and we are not simply exchanging text commands, there is not really a way to do this sort of thing without using some special SSH_FXP_EXTENDED
packets, and as of now, we have no way to support custom extended packets.
@fdefilippo this can be easily done using the SSH protocol.
You can add an handler for the exec
req.Type here for example.
Thank you.
hi, I would like to implement some kind of site exec so that I can execute a command like below:
exec /path/to/myprogram args
is there any example from which to draw inspiration?
thank you.