Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.0
-
None
Description
I use Apache Mina SSH client. The request that I want to send looks like:
user@host -w my_password -o SendEnv=SOME_VAR -s subsystem_name
But for now it is impossible to use env vars and subsystem together.
What I have tried so far
1. ChannelShell class has setEnv(key, value) method but I can't go in
subsystem
2. ChannelSubsystem class allows to go to subsystem but it has no
setEnv(key, value) method
3. Also I have tried to open ChannelShell, set env, then open
ChannelSubsystem using the same session as was used for ChannelShell, but it
seems env variable hasn't gotten to ChannelSubsystem.
Attachments
Issue Links
- links to