3 ms·
How complete is the ssh implementation? I'm thinking I probably want to at least run git/hg push, and maybe even do port forwarding.
by tedunangst 5y ago
How complete is the ssh implementation? I'm thinking I probably want to at least run git/hg push, and maybe even do port forwarding.
- tptacek 5y agoNot very. You can scp and rsync over it. You can run with or without a pty. That's pretty much it. It should work with git! You probably shouldn't do port forwarding on Fly.io; if you're running into an actual need for that, we should talk about extending our network access control model.
- tedunangst 5y agoPerhaps atypical, but about 50% of my ssh use is port forwarding to construct impoverished man's VPNs. Like I send mail by forwarding localhost:25 to localhost:25 on the mail server. If I were running PoE (Postgres on Edge) I'd probably want to connect a local client for poking around, but without the bother of meshing my laptop into the cloud.
- mrkurt 5y agoMost port forwarding you need to connect to Fly apps is baked in. Here's how to get at a remote postgres: $ flyctl proxy 15432:5432 -s -a fizz-db ? Select instance: [Use arrows to move, type to filter] > gru.fizz-db.internal iad.fizz-db.internal lax.fizz-db.internal lhr.fizz-db.internal ord (fdaa:0:446b:a7b:20db:0:77a5:2) ord (fdaa:0:446b:a7b:20dc:0:784c:2) yyz.fizz-db.internal That forwards whichever you select to local port 15432.
- Karrot_Kream 5y agoAwesome, this is a killer promo for Fly btw :D
- tedunangst 5y agoAh!