ledokku
ledokku copied to clipboard
Stuck on Ledokku add SSH key page
Bug report
Describe the bug
After installing Ledokku I'm stuck on the add SSH key to Dokku page.
I copied the command verbatim from the browser which looks something like this but just with an SSH public key after echo:
echo "SSH KEY REDACTED" | dokku ssh-keys:add ledokku
root@24:/etc/ssh# dokku ssh-keys:list
SHA256:#################### NAME="ledokku" SSHCOMMAND_ALLOWED_KEYS="no-agent-forwarding,no-user-rc,no-X11-forwarding,no-port-forwarding"
^ SHA Redacted. My terminal output has a nice alphanumeric SHA string.
Removed the SSH key from dokku and attempted to add it again.
To Reproduce
- Install Dokku on Ubuntu 22.04
- apt update & apt upgrade
- Reboot for new kernel install
- Install Dokku as per Dokku installation page
- Propagate DNS
- Install Ledokku from install page
- Spin the Ledokku url in a browser.
- Add the Ledoku SSH key to Dokku (copy paste cmd)
- Refresh the page (Ledokku stuck at this point).
Expected behavior
I expected Ledokku to pick up on the SSH key in Dokku and move to the Github Oauth steps
System information
- Version of dokku: [e.g. 0.28.4]
- Version of ledokku: [e.g. v0.7.0]
Additional context
Deployed on Ubuntu 22.04.
Same
I had a few similar issues, have you tried ensuring both id_rsa
and id_rsa.pub
are in the home folder of the user you use to access dokku? That fixed one issue for me but then I hit another where it wasn't picking up the correct subdomain (I was using sub-sub domains, e.g. ledokku.dokku.myserver.com). I gave up trying in the end but would be interested to hear if you get the SSH keys working.
check the answer here: https://github.com/ledokku/ledokku/issues/418
I had the same issue adding
PubkeyAcceptedKeyTypes=+ssh-rsa
to /etc/ssh/sshd_config
fixed the issue (ofcourse you need to restart sshd)