Added dummy check_channel_window_change_request for testing

This commit is contained in:
Sheng
2018-05-30 17:35:51 +08:00
parent 96d9ae5b4d
commit cb5424a166
3 changed files with 17 additions and 3 deletions
+5
View File
@@ -76,6 +76,11 @@ class Server (paramiko.ServerInterface):
pixelwidth, pixelheight, modes):
return True
def check_channel_window_change_request(self, channel, width, height,
pixelwidth, pixelheight):
channel.send('resized')
return True
def run_ssh_server(port=2200, running=True):
# now connect