Passwordless login to a linode from lish?
I set up Debian linodes without root or used passwords. SSH is set not to accept passwords.
So I'm fine with ssh into a linode. However lish prompts for a password to connect to a linode.
So I entered a public key into cloud manager, hoping this would help.
So now I can get into lish without a password, but can neither get from lish to the linode nor into cloud manager without a password.
I had hoped for all 3.
Of course, assuming I can get into my linode via ssh, I could configure a temporary password without letting ssh accept passwords. But…
There must be a better way. What have I missed?
1 Reply
Public/private key-pairs are supported within the SSH protocol - which LISH and OpenSSH on your Linode uses.
However the login you see on LISH (to get into your Linode) is akin to the console login if you were sat at a physical machine’s monitor with a keyboard.
Console login is a username/password login only, there is no way for it to support public/private key-pairs.
The Cloud Manager is also only a username/password login - although you can secure this with 2FA to also require a token from a 2FA app. Alternatively you can choose to authenticate with Github.