TrailBlazer has asked for the wisdom of the Perl Monks concerning the following question:

Is there someone who has a working example of ssh::perl::subsystem::client. I want to write an application for doing netconf but I can't figure out how to specify the subsystem with this module.

Replies are listed 'Best First'.
Re: Usage of ssh::perl::subsystem::client
by jethro (Monsignor) on Jul 03, 2012 at 12:51 UTC

    You probably meant Net::SSH::Perl::Subsystem::Client. What about the example code in the synopsis? It seems to show how to use it and send arbitrary data to the other end.

    You are supposed to create the protocol yourself, i.e. you don't specify the subsystem, you write it

      I understand I need to write the code to send data to the subsystem (which is just XML) However to put it simple with ssh you use the -s subsystem where do i specify with this module?