mirror of https://github.com/jumpserver/jumpserver
Update ssh config
parent
ebb30424fa
commit
5e33c2dc6b
|
@ -99,7 +99,3 @@ config = {
|
||||||
|
|
||||||
env = 'default'
|
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):
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue