Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
5e33c2dc
Commit
5e33c2dc
authored
Sep 25, 2016
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ssh config
parent
ebb30424
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
ssh_config.py
terminal/ssh_config.py
+0
-4
ssh_server.py
terminal/ssh_server.py
+2
-2
No files found.
terminal/ssh_config.py
View file @
5e33c2dc
...
@@ -99,7 +99,3 @@ config = {
...
@@ -99,7 +99,3 @@ config = {
env
=
'default'
env
=
'default'
if
__name__
==
'__main__'
:
pass
terminal/ssh_server.py
View file @
5e33c2dc
...
@@ -126,8 +126,8 @@ class SSHServerInterface(paramiko.ServerInterface):
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment