✓ Solved

Cannot log into VS Code from reverse IP URL - pwd rejected

  1. Cannot log into Linodes reverse IP login URL. Keeps rejecting my password .. I know it is correct … have chenged it a few times (to the same pwd or enhanced it. Nothing i do seems to work …

2 Replies

Linode Staff

✓ Best Answer

I've created my own VS Code server through the Marketplace app and was able to sign in with the password I've created. I did notice that there were different fields for the password you'll be creating. To list them out, there was a specific field for:

  • The password to login to the VS Code Web UI
  • The password for the limited sudo user
  • The password for the root user

As you may already know, you will need the password you've created for the VS Code Web UI to be able to access the dashboard. Is it possible that you're using your Linode's root password or limited sudo user's password to access the VS Code UI? We do have a feature where you're able to reset your Linode's root password, but I'm not seeing that option listed on our VS Code Server guide.

When I checked online for available documentation on how to reset your VS Code password, I came across this GitHub guide. According to that guide, you could reset the password by editing the password field in the code-server config file at ~/.config/code-server/config.yaml and then restarting code-server with:

sudo systemctl restart code-server@$USER

I would like to clarify that in the GitHub documentation, it demonstrates how to manually setup and use code-server, which will allow you to use VS Code on a remote server and then access it via a browser. I'm not sure if you've set up your VS Code server through the Marketplace app or manually installed it, but it may be worthwhile to see if it's possible to SSH into your server to see if you're able to manually reset the password with the above method.

There was another guide that shows you how to reset your VS Code password with GitLab. I'm not too familiar with either of these processes, but it may be worthwhile to check them out.

Lastly, it may be easier to redeploy another VS Code server through the Marketplace app if you do not have any critical data and have not accessed it yet. That option is entirely up to you, so I highly encourage you to review the suggested guides if you do not wish to start over.

… thanQ for comprehensive feedback … lots to unpack … let me see how I get on … again, thanQ for reaching out.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct