Executing multiple commands over SSH “exec” channel on firewall device with Java JSch does not work
问题 I referred the question Multiple bash commands and implemented as below. I am connecting to a device for which first command should be configure then only I will get a prompt to execute all other commands. I don't get output for any of the commands and the control does not return. The following are the commands that work in terminal. ssh uname@ip configure # this command changes prompt and enable following commands move shared pre-rulebase security rules TEST top commit exit exit As asked for