Hey Fly.io folks a newbe here.
I’m trying to SSH / SCP into my application. The goal is to copy a sqlite database into a mounted volume.
fly ssh console doesn’t work:
$ fly ssh console Connecting to fdaa:0:d9ee:a7b:b4:4:51b7:2... complete Error error connecting to SSH server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Log in fly.io monitoring:
2023-01-26T09:30:45.965 app[e42eac2f] fra [info] 2023/01/26 09:30:45 unexpected error: [ssh: no auth passed yet, user: 'root' does not exist]
I’m not really sure which path to take next. So, I wonder if there is some up-to-date tutorial which starts from scratch and explains on how to connect to an app. I’ve done some research in this forum, but I’m unsure what the current state of art is.
Is my assumption correct that there is an SSH service started on all VMs independent of my application? Is there anything I need to configure in my application, like exposing a SSH port? And can I break something with my application that would prevent
fly ssh console from working?
Thanks so much for fly.io. It’s a great experience so far. Hopefully this is the last step running my app.