Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
cd0eb1a2
Commit
cd0eb1a2
authored
Jan 19, 1999
by
Niels Möller
Browse files
Some ssh1 fallback support.
Rev: src/lshd.c:1.34 Rev: src/server.h:1.12
parent
d282b1b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lshd.c
View file @
cd0eb1a2
...
...
@@ -456,6 +456,7 @@ int main(int argc, char **argv)
if
(
!
io_listen
(
backend
,
&
local
,
make_server_callback
(
backend
,
"lsh - a free ssh"
,
NULL
,
SSH_MAX_PACKET
,
r
,
make_kexinit
,
kexinit_handler
)))
...
...
src/server.h
View file @
cd0eb1a2
...
...
@@ -31,15 +31,25 @@
#include "password.h"
#include "reaper.h"
#if SSH1_FALLBACK
#include ssh1_fallback.h
#else
/* !SSH1_FALLBACK */
struct
ssh1_fallback
;
#endif
/* !SSH1_FALLBACK */
struct
fd_callback
*
make_server_callback
(
struct
io_backend
*
b
,
const
char
*
comment
,
/* NULL if no falling back should be attempted. */
struct
ssh1_fallback
*
fallback
,
UINT32
block_size
,
struct
randomness
*
random
,
struct
make_kexinit
*
init
,
struct
packet_handler
*
kexinit_handler
);
struct
read_handler
*
make_server_read_line
(
struct
ssh_connection
*
c
);
struct
read_handler
*
make_server_read_line
(
struct
ssh_connection
*
c
,
int
fd
,
struct
ssh1_fallback
*
fallback
);
struct
close_callback
*
make_server_close_handler
(
struct
ssh_connection
*
c
);
struct
ssh_channel
*
make_server_session
(
struct
unix_user
*
user
,
...
...
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