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

Add flag to force key-based user connection to use their key's username. #367

Open
SirHall opened this issue Nov 17, 2020 · 3 comments
Open

Comments

@SirHall
Copy link

SirHall commented Nov 17, 2020

It would be useful to be able to have the server force each connecting client (if using public key authentication) to forcefully be assigned the username from their public key.

@shazow
Copy link
Owner

shazow commented Nov 17, 2020

To be clear, this would only work for whitelist pubkeys? Or admin pubkeys?

I like this idea overall, would you be interested in working on it?

Collisions will need to be renamed to GuestXXXX.

@SirHall
Copy link
Author

SirHall commented Nov 18, 2020

Optimally you'd have a separate flag for each.
I may be able to work on it.

@yhojann-cl
Copy link

yhojann-cl commented Feb 10, 2021

By example: ssh-rsa AAAA... myusername and prevent change nick, or add command to get key from user, by example /getkey username to identificate logged user when use whitelist keys. By example ./ssh-chat --whitelist '...' --forced-usernames

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

No branches or pull requests

3 participants