How does Lish utilize my SSH key?

Linode Staff

I’m a little confused about how Lish uses SSH keys.

For example, I’ve added my public SSH key to one of my Linodes (as well as the Lish page in Cloud Manager), but my Linode’s Lish console is still asking me for a password.

Any idea why?

3 Replies

When attempting to access Lish via SSH, you’d typically be required to input your Cloud Manager credentials for authentication purposes. If you configure key authentication access for Lish, you’d no longer need to provide your Cloud Manager credentials when connecting to one of our Lish gateways over SSH. Just so you're aware, you'll never be prompted to provide your Cloud Manager credentials when using browser-based Lish (also known as Weblish).

Lish does not abide by any SSH configurations that you have in place on your Linodes, and you’ll always be prompted to provide the credentials for a Linux user account when you access one of your Linodes' console sessions. This applies for every Lish access method (including Weblish).

you'll never be prompted to provide your Cloud Manager credentials when using browser-based Lish (also known as Weblish).

Why am I being prompted for credentials when trying to login to Weblish?

<img alt="login prompt on weblish" src="https://i.imgur.com/kQ8oYUf.png">

While you won't be prompted to provide Cloud Manager credentials in the Weblish (because you have already logged into Cloud Manager to get to the Weblish), you will still need to provide credentials to access your Linode using the Weblish. If you look at step 4 in those instructions, you'll see this:

The Lish Web Console window appears…From here, you can log in to your Compute Instance with any other username and password available on that system (such as root).

So you'll still need to use credentials to log in, but those credentials will be for the specific instance you're connecting to, not for Cloud Manager. If you're having trouble remembering the credentials for a specific instance, you can reset the root password through Cloud Manager and then log in as root with the new password.

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