I am currently using the library for SSH in Java, but it seems that I am not able to make multi-part commands (for example, if I do passwd user, I have no way to enter the password twice to change it, this forces you to start a new session every time, when you enter the command). I really need this functionality for the current application I'm working on, and there seem to be a lot of SSH libraries for Java, but I'm not sure which ones will allow this, as some don't seem to.
Any advice on a good library is welcome to take a look at this.
To close the patrol: if you try to close it, at least specify a thread that asks the same question as mine, and not just the general “what a good Java ssh library”, question
source
share