How to achieve syncshell service in Net::SSH v2 ?

V

Vamsee Km

Hi,

I have been using Net::SSH package for quite a long time and been using
syncshell service that was introduced in the initial version of net-ssh
gem.

http://net-ssh.rubyforge.org/ssh/v1/chapter-5.html#s4

After upgrading to newer version I found that I can no longer use
syncshell and have to manually open channel and provide callbacks for
execution of each command. Please somebody enlighten me if there is any
easier way to do this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top