Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config mode remote access page misses passphrase entry #1249

Closed
edeso opened this issue Nov 3, 2017 · 3 comments
Closed

config mode remote access page misses passphrase entry #1249

edeso opened this issue Nov 3, 2017 · 3 comments

Comments

@edeso
Copy link
Contributor

edeso commented Nov 3, 2017

hi,

on gluon v2017.1-125-g207337b i am missing the ssh passphrase entry form on the remote access page in config mode.

probably because of this change to 'remote.lua'

"
-local config = (site.config_mode or {}).remote_login or {}
-if not config.show_password_form then
+local config = site.config_mode.remote_login
+if not config.show_password_form(false) then
-- password login is disabled in site.conf
"
in commit
951f62a#diff-17a449f5149b634605ff9c5ab4cd6cd0

..ede

@mweinelt
Copy link
Contributor

mweinelt commented Nov 4, 2017

What you are reporting sounds like it's working as intended.

By default the password form is disabled to prevent novice users from entering possibly weak passwords and encourage everyone to use public key authentication.

The community may decide that they still want the form to be shown. Therefore they have to explicitly enable this in their site.conf: https://gluon.readthedocs.io/en/latest/package/gluon-web-admin.html

@rotanid
Copy link
Member

rotanid commented Nov 4, 2017

what @mweinelt wrote is correct and this will be part of the next major gluon release (note that this change is not part of the v2017.1.x branch)

@rotanid rotanid closed this as completed Nov 4, 2017
@edeso
Copy link
Contributor Author

edeso commented Nov 5, 2017

thx!

wasn't aware of the change as intended. the commit message might have had a hint to the documented switch. ..ede

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants