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

support for android #368

Open
pschiffe opened this issue Nov 17, 2023 · 6 comments
Open

support for android #368

pschiffe opened this issue Nov 17, 2023 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@pschiffe
Copy link

Hello. There's a great app for running SSH on Android - https://juicessh.com/
However, if the SSH is behind Pomerium TCP route, AFAIK there's no way currently to connect to it from Android phone or tablet.
Having SSH access on phone is usually for emergencies only, but tablets today are very capable and can be used as a laptop replacement.

@wasaga
Copy link
Contributor

wasaga commented Nov 17, 2023

@desimone
Copy link
Contributor

@ pschiffe was the link @wasaga what you were looking for?

@desimone desimone added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 27, 2023
@pschiffe
Copy link
Author

Not really, as I need to compile that myself? I'm not sure, there's no documentation..

I'm looking for something I could download from the play store.

@desimone desimone reopened this Nov 27, 2023
@desimone
Copy link
Contributor

Got it. The best way to handle this would be to wrap ProxyCommand. I'm not sure the best way to do this in the android ecosystem but it's native to OpenSSH.

https://www.pomerium.com/docs/capabilities/tcp/examples/ssh.html#always-tunnel-through-pomerium

@desimone desimone added help wanted Extra attention is needed and removed WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Nov 27, 2023
@pschiffe
Copy link
Author

I think JuiceSSH could handle ProxyCommand directive in the SSH connection setting, alternatively it supports "snippets" - run custom code before creating the connection.
However, the part that is missing is to run pomerium-cli on the android device.

I can also imagine, and maybe it would be even better, to have pomerium app for android similar to pomerium desktop - a graphical application to create connections from localhost to pomerium routes. That could work for ssh as well as databases.

@desimone
Copy link
Contributor

Sorry, I'm not super familiar with the android ecosystem (in theory, it should be as simple as having pomerium-cli in /bin somewhere?) but in theory pomerium-cli can probably run on android architecture (we support bunch of different flavors including arm and I don't with little modification on the build target.

Though we don't have the resources (or devices) to do this type of work currently, either an app or updated build target for android and usage instructions would be welcome contributions from the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants