I am trying to login into Linux box through JSch code.
Issue: I have a problem that after login into Linux box through PuTTY, it will directly prompt me to select one option 5, then I need to enter a value among 1,2,3,4,5 which then goes to respective directory.
Example: after login into Linux machine it give me five environments:
- prod
- qa
- dev
- cert
- none so I need to choose among above five.
If I enter 3 then it will change to the dev environment.
Please help me and let me know how to implement this in JSch or related Java code.