File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ only to HTTP requests.
108
108
You can use [ Let's Encrypt] ( https://letsencrypt.org/ ) to get an SSL certificate
109
109
for free.
110
110
111
- Again, Please follow [ ./guide.md] ( ./guide.md ) for our recommendations on setting up and using code-server.
111
+ Again, please follow [ ./guide.md] ( ./guide.md ) for our recommendations on setting up and using code-server.
112
112
113
113
## How do I securely access web services?
114
114
Original file line number Diff line number Diff line change @@ -94,11 +94,13 @@ systemctl --user enable --now code-server
94
94
** Never** , ** ever** expose ` code-server ` directly to the internet without some form of authentication
95
95
and encryption as someone can completely takeover your machine with the terminal.
96
96
97
- There are several approaches to securely operating and exposing code-server.
98
-
99
97
By default, code-server will enable password authentication which will
100
- require you to copy the password from the code-server config file to login. You
101
- can also set a custom password with ` $PASSWORD ` .
98
+ require you to copy the password from the code-server config file to login. Since it
99
+ cannot use TLS by default, it will listen on ` localhost ` to avoid exposing itself
100
+ to the world. This is fine for testing but will not work if you want to access ` code-server `
101
+ from a different machine.
102
+
103
+ There are several approaches to securely operating and exposing code-server.
102
104
103
105
** tip** : You can list the full set of code-server options with ` code-server --help `
104
106
You can’t perform that action at this time.
0 commit comments