Skip to content
GitLab
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
2134c4b5
Commit
2134c4b5
authored
Feb 11, 2010
by
Niels Möller
Browse files
(main_options): Renamed options to start with --allow or --deny.
Rev: src/lshd-userauth.c:1.20
parent
2a48226e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lshd-userauth.c
View file @
2134c4b5
...
...
@@ -864,20 +864,20 @@ main_options[] =
{
"session-id"
,
OPT_SESSION_ID
,
"Session id"
,
0
,
"Session id from the transport layer."
,
0
},
{
"password"
,
OPT_PASSWORD
,
NULL
,
0
,
"Enable password user authentication
(default)
."
,
0
},
{
"
no
-password"
,
OPT_NO_PASSWORD
,
NULL
,
0
,
"Disable password user authentication."
,
0
},
{
"publickey"
,
OPT_PUBLICKEY
,
NULL
,
0
,
"Enable publickey user authentication
(default)
."
,
0
},
{
"
no
-publickey"
,
OPT_NO_PUBLICKEY
,
NULL
,
0
,
"Disable publickey user authentication."
,
0
},
{
"root-login"
,
OPT_ROOT_LOGIN
,
NULL
,
0
,
"Allow root to login."
,
0
},
{
"
no
-root-login"
,
OPT_NO_ROOT_LOGIN
,
NULL
,
0
,
"Don't allow root to login (default)."
,
0
},
{
"
allow-
password"
,
OPT_PASSWORD
,
NULL
,
0
,
"Enable password user authentication."
,
0
},
{
"
deny
-password"
,
OPT_NO_PASSWORD
,
NULL
,
0
,
"Disable password user authentication
(default)
."
,
0
},
{
"
allow-
publickey"
,
OPT_PUBLICKEY
,
NULL
,
0
,
"Enable publickey user authentication."
,
0
},
{
"
deny
-publickey"
,
OPT_NO_PUBLICKEY
,
NULL
,
0
,
"Disable publickey user authentication
(default)
."
,
0
},
{
"
allow-
root-login"
,
OPT_ROOT_LOGIN
,
NULL
,
0
,
"Allow root
user
to login."
,
0
},
{
"
deny
-root-login"
,
OPT_NO_ROOT_LOGIN
,
NULL
,
0
,
"Don't allow root
user
to login (default)."
,
0
},
{
NULL
,
0
,
NULL
,
0
,
NULL
,
0
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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