Menu

#12 map ssh user

1.0
open
nobody
None
2025-02-06
2025-02-06
No

I'm using cloudflare's ssh-browser.
There is a possibility to authenticate the user by certificate.
But it uses the beginning of the email of the person who authenticated as the user.
I authorized different friends to access my server.
I didn't want to create an account for each one.
So I wanted any invalid user who logged in by ssh to be mapped to guest id 1000 gid 1000 /home/guest /bin bash.
But I couldn't change the ssh user name.
So I thought about always returning the same user login data as if it existed.
I couldn't do anything.

Could you please help me?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.