http://www.perlmonks.org?node_id=999568


in reply to Re: How can I pass an open session of Net::SSH2 to a script running in a forked subprocess?
in thread How can I pass an open session of Net::SSH2 to a script running in a forked subprocess?

Thanks for your response. The point is I don't want to use the open session within the forked subprocess, which of course has duplicated ssh, channel and so forth. I should run (using exec command) a new script, which knows nothing about open session
  • Comment on Re^2: How can I pass an open session of Net::SSH2 to a script running in a forked subprocess?