3 ms·
Why do you need to SFTP into a disk?
by jhardy54 4y ago
Why do you need to SFTP into a disk?
- sergiomattei 4y agoI was moving a Ghost blog from Render. Ghost is notorious for having a difficult time with hosting assets in S3, so it uses disks. I needed to move the Ghost assets directory for all the posts. This was a ten minute thing in Render. SOL in Fly.
- indigodaddy 4y agoCan you not ssh into a fly instance and then pull?
- sergiomattei 4y agoNo. Flyctl SSH does not allow this functionality.
- tptacek 4y agoWe definitely don't do SFTP! My general M.O. for moving files to running VMs is Magic Wormhole. But that's not optimal either. You've got a legit irritation and I'm glad you put it on our radar.
- deleted 4y ago[deleted]
- indigodaddy 4y agoSo let me get this straight. Fly has a ‘flyctl ssh’ feature where you can gain console/ssh/whatever into the OS of the fly instance/firecracker/container/thing. So you are saying that once in, you cannot use curl even to pull/download something? (I believe curl supports sftp protocol as well)
- saool 4y agoYou can. You gotta get Wireguard running on your local machine [0] and be able to see the ".internal" network, but once you do, you can ssh into any edge VM and if access its filesystem. I've SCP'd SQLite db files and dumps. It's also a pretty anti-pattern way of debugging an app if you're an outlaw :) [0] https://fly.io/docs/reference/private-networking/ https://fly.io/docs/reference/private-networking/
- deleted 4y ago[deleted]