Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
891171c1
Commit
891171c1
authored
Nov 03, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass an advertised_methods list to the userauth service.
Rev: src/lshd.c:1.18
parent
76697798
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/lshd.c
src/lshd.c
+4
-1
No files found.
src/lshd.c
View file @
891171c1
...
...
@@ -136,6 +136,8 @@ int main(int argc, char **argv)
struct
make_kexinit
*
make_kexinit
;
struct
packet_handler
*
kexinit_handler
;
int
advertised_methods
[]
=
{
ATOM_PASSWORD
,
-
1
};
/* For filtering messages. Could perhaps also be used when converting
* strings to and from UTF8. */
setlocale
(
LC_CTYPE
,
""
);
...
...
@@ -195,7 +197,8 @@ int main(int argc, char **argv)
(
make_alist
(
1
,
ATOM_SSH_USERAUTH
,
make_userauth_service
(
make_alist
(
1
,
ATOM_PASSWORD
,
(
advertised_methods
,
make_alist
(
1
,
ATOM_PASSWORD
,
make_unix_userauth
(
make_alist
(
1
,
ATOM_SSH_CONNECTION
,
...
...
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