Custom SSH App - Permission denied (publickey)
Hi π I am creating an SSH app using https://github.com/charmbracelet/wish and https://github.com/charmbracelet/bubbletea. If I run my Dockerfile file locally I am able to ssh into the custom TUI app, but when Railway deploys my app, I am unable to SSH into the custom TUI app. I have created a custom domain with the port that the app exposes and when executing the ssh command I am getting a
Permission denied (publickey)
.
Please note that I am not trying to get a shell through SSH, I am just trying to access my TUI through SSH thanks to the Wish library. (the library itself states how they don't even create a shell)
Any help regarding this would be appreciated πGitHub
GitHub - charmbracelet/wish: Make SSH apps, just like that! π«
Make SSH apps, just like that! π«. Contribute to charmbracelet/wish development by creating an account on GitHub.
Solution:Jump to solution
yep doesnt work, looks like this wont be something you will be able to host on railway unfortunately
14 Replies
Project ID:
9f559d76-09a2-4ad0-bb72-5be1b756a3c3
9f559d76-09a2-4ad0-bb72-5be1b756a3c3
the custom domains would strictly be for https traffic only, you would need to use tcp proxy instead
hi @Brody thanks for the quick reply. I just tried that and I got the error
are you pointing the tcp proxy to the correct internal port?
I think I am. I have written the same port I expose on my Dockerfile as I did on the TCP proxy creation.
Edit: And also the same port on my source code
the EXPOSE in the dockerfile doesnt do anything fwiw
what is the host and port you are starting your server on?
0.0.0.0 and 23234
okay ill try to spin up a wish test
thanks I appreciate it
Solution
yep doesnt work, looks like this wont be something you will be able to host on railway unfortunately
oh damn thank you very much for trying
no problem!
New reply sent from Help Station thread:
I wonder if someone from staff can take a look at this and give more information about thisYou're seeing this because this thread has been automatically linked to the Help Station thread.