screego / server

screen sharing for developers https://screego.net/
https://app.screego.net
GNU General Public License v3.0
7.62k stars 551 forks source link

How to log in to create a room #196

Closed 1204440654 closed 2 weeks ago

1204440654 commented 3 weeks ago

I want to use it with my friends. How can I add a user ID and password? I am using 1panel

1204440654 commented 2 weeks ago

I installed 1panel in one go, but the file is not configured. Do I need to modify the configuration before installation? How do I install local applications in 1panel? Help

jmattheis commented 2 weeks ago

You have to configure

# Defines the location of the users file.
# File Format:
#   user1:bcrypt_password_hash
#   user2:bcrypt_password_hash
#
# Example:
#   user1:$2a$12$WEfYCnWGk0PDzbATLTNiTuoZ7e/43v6DM/h7arOnPU6qEtFG.kZQy
#
# The user password pair can be created via
#   screego hash --name "user1" --pass "your password"
SCREEGO_USERS_FILE=

You can generate the username:password pair with the screego binary or via docker

$ docker run -it --rm screego/server:unstable hash --name myname --pass mypass
myname:$2a$12$gC40IvDxTZqNxJfVC7YYpuqto.BJ3Tw55ZdVyJIGHiI6jxpCt83Ky