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

Ignore $remote-user if --ssh-user or SSHUSER was set #525

Open
VeloAddict opened this issue Mar 2, 2024 · 0 comments
Open

Ignore $remote-user if --ssh-user or SSHUSER was set #525

VeloAddict opened this issue Mar 2, 2024 · 0 comments

Comments

@VeloAddict
Copy link

I have configured the container with a specific user using SSHUSER env, and I only want that user to ssh into the server.
I am also running wetty behind nginx proxy manager with authentication provided by authelia and $remote-user is passed along in the headers. This sets the user for the ssh connection to an user that does not exist or does not have a shell.

It would be great if wetty ignored $remote-user header when and the env SSHUSER is set.

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

1 participant