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

Bug: Changing SFTP password in config panel is not working #126

Open
CodeShakingSheep opened this issue Sep 26, 2023 · 2 comments
Open

Bug: Changing SFTP password in config panel is not working #126

CodeShakingSheep opened this issue Sep 26, 2023 · 2 comments

Comments

@CodeShakingSheep
Copy link
Member

Describe the bug

Changing the password in the config panel after installation doesn't have any effect. The newly set password isn't working and the old password is still working.

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.2.4
  • I have access to my server: Through SSH | through the webadmin

Steps to reproduce

Change password in the config panel after installation and try to access via SFTP with the new password.

Expected behavior

Old password should stop working and new password should start working.

@Tagadda
Copy link
Member

Tagadda commented Sep 26, 2023

I think there's a strange behavior for this feature. Reading the ./scripts/config, I think that the password gets updated only when with_sftp changed to true.
So changing the password without changing the state of with_sftp doesn't do anything.

Can you try to do this :

  • Disable the SFTP access and Save
  • Enable the SFTP, define a password and Save

I think this way the password should change.

@narFnarF
Copy link

It seems like this weird workaround worked for me...

@grenagit grenagit mentioned this issue Jun 5, 2024
2 tasks
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