This thesis solves slow remote execution in an internal framework of Red Hat. This framework is used for remote test execution and deployment. My solution provides a new remote execution layer which will be used by the framework. My module also provides clean design allowing a possible new incorporation of unknown implementation of the SSHv2 protocol. Its implementation is not dependant on the framework , therefore it can be used in other frameworks too. My solution provides up 70 percent speed-up per one test. It is also providing simpler and more powerful API.