Update ssh config

pull/530/head
ibuler 2016-09-25 20:41:56 +08:00
parent ebb30424fa
commit 5e33c2dc6b
2 changed files with 2 additions and 6 deletions

View File

@ -99,7 +99,3 @@ config = {
env = 'default' env = 'default'
if __name__ == '__main__':
pass

View File

@ -126,8 +126,8 @@ class SSHServerInterface(paramiko.ServerInterface):
def check_channel_window_change_request(self, channel, width, height, pixelwidth, pixelheight): def check_channel_window_change_request(self, channel, width, height, pixelwidth, pixelheight):
logger.info('Change window size %s * %s' % (width, height)) logger.info('Change window size %s * %s' % (width, height))
logger.info('Change length %s ' % len(self.__class__.channel_pools)) logger.info('Change length %s ' % len(self.__class__.channel_pools))
# for channel in self.__class__.channel_pools: for channel in self.__class__.channel_pools:
# channel.send("Hello world") channel.send("Hello world")
return True return True