-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[Bug]: Cannot use SSH / Cannot even install #2484
Comments
What does "that didn't work" mean? What did you run, and what output did you get exactly?
What do you mean? Three sentences earlier you said that ssh "didn't work" |
Sorry, I assumed people would follow the paraphrasing. I ran ssh username@IP. It came back with "The program ssh is not installed. Install it by executing pkg install dropbear or ... openssh". I tried both of those and it goes through the process, but breaks at (and I'm not writing out every single line in full):
I tried with apt install openssh, because heck, I know Ubuntu well and thought I'd give it a shot (that doesn't work/cannot be found). I've also tried this when installed Termux through FDroid. Same result. |
The repository issues are due to termux from google play being deprecated, the subscribed repository in that app version are down or are signed with keys that are missing from the termux-keyring package in that version, see pinned issue #2067. If ping/ssh doesn't work then there's probably a firewall in the way, or some issue with your internet connection
termux from FDroid should work fine, but termux-keyring needs to be updated before you can use the grimler.se mirror (all other mirrors should work out of the box though, you can change mirror with |
Okay. I understand. How do I update the keyring? Is this related to "change repo"? I think I'll stick with F-Droid (assuming that I can't fix the Play version). |
should work |
Play Store version is outdated and shouldn't be used anymore. Use apk from F-Droid. Keyring fix may be needed only for Everything else is quite trivial: |
Problem description
I wanted to use Termux because I simply wanted to test a homeserver from outside of the LAN (using my mobile's data).
I installed Termux, and tried pinging, and that didn't work. I tried SSH, and that didn't work either, but that's because it said it wasn't installed. It recommended pkg dropbear and openssh, but both of those failed due to the URL. I tried apt openssh, and it said the package couldn't be found.
So I'm not sure what's going on. I can't ping my home server, but I can SSH just fine.
I'm trying Termux in order to test my router's port forwarding (which is the main [unrelated] issue).
I've noticed others posting these things here.
My phone is rooted, with LineageOS installed (I'm not sure if that matters). Are there any permissions I need to grant Termux (I have just granted it Storage).
Steps to reproduce the behavior.
ping IP
or ssh username@IP
What is the expected behavior?
No response
System information
The text was updated successfully, but these errors were encountered: