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

**URL:** <https://www.ruby-forum.com/t/how-to-achieve-syncshell-service-in-net-ssh-v2/150416>\
**Category:** Ruby\
**Created:** [October 8, 2008, 11:06am UTC](https://www.ruby-forum.com/t/how-to-achieve-syncshell-service-in-net-ssh-v2/150416 "2008-10-08T11:06:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cooldudevamsee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/5f8ce5/32.png) [@cooldudevamsee](https://www.ruby-forum.com/u/cooldudevamsee)\
**Post date:** [October 8, 2008, 11:06am UTC](https://www.ruby-forum.com/t/how-to-achieve-syncshell-service-in-net-ssh-v2/150416/1 "2008-10-08T11:06:42Z")

</div>

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](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.
