R
Railwayβ€’5mo ago
caxco93

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:
yep doesnt work, looks like this wont be something you will be able to host on railway unfortunately
Jump to solution
14 Replies
Percy
Percyβ€’5mo ago
Project ID: 9f559d76-09a2-4ad0-bb72-5be1b756a3c3
caxco93
caxco93OPβ€’5mo ago
9f559d76-09a2-4ad0-bb72-5be1b756a3c3
Brody
Brodyβ€’5mo ago
the custom domains would strictly be for https traffic only, you would need to use tcp proxy instead
caxco93
caxco93OPβ€’5mo ago
hi @Brody thanks for the quick reply. I just tried that and I got the error
kex_exchange_identification: read: Connection reset by peer
Connection reset by 35.212.45.XXX port YYYYY
kex_exchange_identification: read: Connection reset by peer
Connection reset by 35.212.45.XXX port YYYYY
Brody
Brodyβ€’5mo ago
are you pointing the tcp proxy to the correct internal port?
caxco93
caxco93OPβ€’5mo ago
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
Brody
Brodyβ€’5mo ago
the EXPOSE in the dockerfile doesnt do anything fwiw what is the host and port you are starting your server on?
caxco93
caxco93OPβ€’5mo ago
0.0.0.0 and 23234
Brody
Brodyβ€’5mo ago
okay ill try to spin up a wish test
caxco93
caxco93OPβ€’5mo ago
thanks I appreciate it
Solution
Brody
Brodyβ€’5mo ago
yep doesnt work, looks like this wont be something you will be able to host on railway unfortunately
caxco93
caxco93OPβ€’5mo ago
oh damn thank you very much for trying
Brody
Brodyβ€’5mo ago
no problem!
Duchess
Duchessβ€’5mo ago
New reply sent from Help Station thread:
I wonder if someone from staff can take a look at this and give more information about this
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server