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?

1 Reply

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).

When you go to add your SSH public key for Lish, you’re actually just bypassing the need to provide your Cloud Manager credentials when accessing Lish over SSH. You would still need to enter in the credentials of a valid Linux user account when attempting to access any of the console sessions for your Linodes (regardless of how you’re connecting to Lish).

Hope this helps! :)

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