This is a great library. I made a simple modification so that I could use it against a Nexus 1KV, which is attached. The odd thing is the hello doesn't seem to be sent and I receive the following error. Source is attached.
Setting up SSH transport client ..
SSH transport client setup complete.
Dec 7, 2012 1:59:38 PM com.centeredlogic.util.CLThread run
INFO: Starting thread - NotificationStreamPinger-10.5.77.9; transferring control to runnable ..
Sending XML request:
<?xml version="1.0" encoding="UTF-8"?>
<nc:get>
<nc:filter type="subtree">
<show>
<port-profile />
</show>
</nc:filter>
</nc:get>
</nc:rpc>
Dec 7, 2012 1:59:39 PM com.centeredlogic.net.netconf.transport.ssh.SshConnection <init>
Received XML response:
<?xml version="1.0" encoding="UTF-8"?>
<nc:rpc-error>
<nc:error-type>application</nc:error-type>
<nc:error-tag>operation-failed</nc:error-tag>
<nc:error-severity>error</nc:error-severity>
<nc:error-message>current session has not received hello</nc:error-message>
</nc:rpc-error>
</nc:rpc-reply>Dec 7, 2012 1:59:39 PM com.centeredlogic.util.CLThread run
WARNING: Thread - NotificationStreamPinger-10.5.77.9 was interrupted.
Dec 7, 2012 1:59:39 PM com.centeredlogic.util.CLThread run
WARNING: This thread will go back to executing its regular run() method
Dec 7, 2012 1:59:39 PM com.centeredlogic.util.CLThread run
INFO: Terminating thread - NotificationStreamPinger-10.5.77.9
Any help would be appreciated.