in reply to Re^6: SSH to remote subsystem (Net::OpenSSH?)
in thread SSH to remote subsystem (Net::OpenSSH?)
I'm using your code snippet to talk to a NETCONF Agent. The problem I'm having is that the response is only showing the hello response, nothing else. For my second query I have sent a get-config and can see that processed on the Agent and a log entry confirming that it sent the response.
Would it be possible for you to append your mainline is case something has got missed?
Below is the merged content from the thread above that I'm using.
... ## PRINT THE RESULTS while (<$in>) { print; last if $_ =~ m/\/nf:rpc-reply/; }; close $in; close $out; waitpid($pid, 0); exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: SSH to remote subsystem (Net::OpenSSH?)
by salva (Canon) on Sep 10, 2014 at 13:47 UTC | |
by alrighttheresham (Initiate) on Sep 10, 2014 at 14:15 UTC | |
by salva (Canon) on Sep 10, 2014 at 15:22 UTC | |
by alrighttheresham (Initiate) on Sep 10, 2014 at 18:54 UTC | |
by salva (Canon) on Sep 11, 2014 at 11:57 UTC | |
|