code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Add password to latest release of codeserver

Open PyExtreme opened this issue 7 years ago • 5 comments

How to add password to latest release of codeserver? I have tried using export PASSWORD='pass' but it didn't work.

Thank you

PyExtreme avatar Nov 03 '19 16:11 PyExtreme

if you're using the legacy way

export PASSWORD="uwu"

./code-server --port=9000 --auth=password

that won't work, do it this way instead:

export PASSWORD="uwu"
./code-server --port=9000

sr229 avatar Nov 04 '19 12:11 sr229

Hello, I have exactly the same problem: Trying to run code-server on a azure VM running Ubunut 18.04 permanently, but setting the password does not work, neither with --auth=password nor without it. Never got it to work on a GCP VM too.

thierschi avatar Nov 07 '19 08:11 thierschi

Hi @sr229 , I've checked the mentioned method but it is not working. Please have a look.

PyExtreme avatar Nov 07 '19 09:11 PyExtreme

Hi @sr229 , I've checked the mentioned method but it is not working. Please have a look.

Try putting --auth=password or do it this way

PASSWORD="uwu" ./code-server [flags]

sr229 avatar Nov 07 '19 15:11 sr229

Hi @sr229 , I have installed the next release and it worked.

Thank you

PyExtreme avatar Nov 07 '19 15:11 PyExtreme