Commit 5e33c2dc authored by ibuler's avatar ibuler

Update ssh config

parent ebb30424
......@@ -99,7 +99,3 @@ config = {
env = 'default'
if __name__ == '__main__':
pass
......@@ -126,8 +126,8 @@ class SSHServerInterface(paramiko.ServerInterface):
def check_channel_window_change_request(self, channel, width, height, pixelwidth, pixelheight):
logger.info('Change window size %s * %s' % (width, height))
logger.info('Change length %s ' % len(self.__class__.channel_pools))
# for channel in self.__class__.channel_pools:
# channel.send("Hello world")
for channel in self.__class__.channel_pools:
channel.send("Hello world")
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment