lgoldstein, Thank You!
--
Sent from:
http://apache-mina.10907.n7.nabble.com/Apache-MINA-Developer-Forum-f6809.html
>> how to treat the arrow keys or any other more effective method could
audit the commands
Arrow keys are quite tricky to handle and I cannot offer a tried-and-tested
approach to it. Basically, you need to handle several issues:
* Detect arrow keys - very tricky since they are usually a
lgoldstein
Thank you for your soonest reply.
I sure the Shell Channel is I needed.I think the dangerous command
embed in the script is accectble in my case. The method your recommanded
Intercept the STDIN was I considered, my implement is as follow:
I implements the class
>> is it possibleto filter remote commands, i.e. I want to reject to
execute some dangerous commands like "rm"
Seems relatively straightforward - since you are a proxy, then I assume you
present your "server" face to the potential clients whose dangerous
commands you want to filter. There are
Dear,
I've implemented an ssh proxy with Apache MINA SSHD. Now I've got a
question: is it possibleto filter remote commands, i.e. I want to reject to
execute some dangerous commands like "rm" .
BEST REGARDS