You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me a while to understand that "hello" and "world" are the http basic auth username and passwords.
{
"users": {
"hello": "world"
},
...
I also got confused as to what "users" was supposed to mean. At first I thought it wanted my linux username and password, so maybe it could open the terminal as that linux user. It is not apparent it is asking it for HTTP Basic Auth.
The text was updated successfully, but these errors were encountered:
Basically, the "users" attribute in the config.json defines different logins to tty.js itself (some form of basic auth).
If you set up the files as in the example you used, if you'll go to your localhost:8080, tty.js will ask for a username and a password. It won't allow you to use a terminal otherwise.
It's also recommended that you sha1 your username and password. So instead of doing:
It took me a while to understand that "hello" and "world" are the http basic auth username and passwords.
I also got confused as to what
"users"
was supposed to mean. At first I thought it wanted my linux username and password, so maybe it could open the terminal as that linux user. It is not apparent it is asking it for HTTP Basic Auth.The text was updated successfully, but these errors were encountered: