Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Ledokku add SSH key page #427

Open
barcovanrhijn opened this issue Nov 9, 2022 · 3 comments
Open

Stuck on Ledokku add SSH key page #427

barcovanrhijn opened this issue Nov 9, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@barcovanrhijn
Copy link

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.

@barcovanrhijn barcovanrhijn added the bug Something isn't working label Nov 9, 2022
@barcovanrhijn barcovanrhijn changed the title Stuck on ledokku SSH Key add page Stuck on Ledokku add SSH key page Nov 9, 2022
@cromulus
Copy link

Same

@chrismclarke
Copy link

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.

@vinu
Copy link

vinu commented Dec 6, 2022

check the answer here: #418
I had the same issue adding
PubkeyAcceptedKeyTypes=+ssh-rsa
to /etc/ssh/sshd_config fixed the issue (ofcourse you need to restart sshd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants