I have successfully use JSch library to create a SSH connection to a server, but I have trouble figuring out how to add the subsystem NETCONF to SSH connection.
When doing it manually, the command line that establishes SSH connection with sybsystem NETCONF is ssh -p 4444 nerconf@myserver -s netconf
.
How do I add the option -s netconf
to the SSH connection using JSch? Does JSch support subsystem for NETCONF?