Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nxssh
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rx-etersoft
nxssh
Commits
a229741f
Commit
a229741f
authored
Nov 08, 2016
by
Stas Korobeynikov
Committed by
Pavel Vainerman
Oct 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force interactive mode
parent
c7356ad3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
packet.c
packet.c
+10
-0
No files found.
packet.c
View file @
a229741f
...
...
@@ -2381,9 +2381,19 @@ ssh_packet_set_tos(struct ssh *ssh, int tos)
void
ssh_packet_set_interactive
(
struct
ssh
*
ssh
,
int
interactive
,
int
qos_interactive
,
int
qos_bulk
)
{
/*
* It's unclear to me why connection is not marked as
* interactive when starting a plain shell. The inter-
* active flag seems to be triggered only when either
* SSH is opening a pseudo TTY or when X11 forwarding
* is enabled.
*/
debug
(
"NX> 286 Called packet_set_interactive() for fd: %d interactive is: %d"
,
ssh
->
state
->
connection_in
,
interactive
);
interactive
=
1
;
debug
(
"NX> 286 Forcing interactive to: %d for fd: %d"
,
interactive
,
ssh
->
state
->
connection_in
);
...
...
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