#NEWLINE# def connectSubsystem( connection , protocol , subsystem ) : #NEWLINE# #INDENT# 'Connect a Protocol to a ssh subsystem channel\n    ' #NEWLINE# deferred = connectSession ( subsystem , protocol ) #NEWLINE# @ deferred . addCallback #NEWLINE# def requestSubsystem( session ) : #NEWLINE# #INDENT# return session . requestSubsystem ( subsystem ) #NEWLINE# #UNINDENT# return deferred