#NEWLINE# def _ssh_command( self , command ) : #NEWLINE# #INDENT# self . debug ( 'Execute remote command {}' . format ( command ) ) #NEWLINE# transport = self . _ssh_client . get_transport ( ) #NEWLINE# channel = transport . open_session ( ) #NEWLINE# try : #NEWLINE# #INDENT# channel . exec_command ( command ) #NEWLINE# self . _interactive_shell ( channel ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# channel . close ( )