I’ve just signed up to Fly, trying to deploy a simple rack app.
I’ve run fly launch
and my app is running. I need to run a DB migration so when I try and fly ssh console
I get the following:
Connecting to [redacted]... complete
Error error connecting to SSH server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
os: macOS Ventura 13.0.1
Fly version: fly v0.0.431 darwin/amd64 Commit: eeef66af BuildDate: 2022-11-13T17:11:38Z
jerome
November 15, 2022, 5:26pm
2
Should be resolved now.
Looking into a more permanent solution.
1 Like
_Andrew
November 15, 2022, 10:55pm
3
Just deployed an app following these instructions and hit the same error.
jerome
November 15, 2022, 11:00pm
4
You don’t seem to have any apps. Are you sure you followed the instructions?
_Andrew
November 15, 2022, 11:01pm
5
The app is under a work account.
jerome
November 15, 2022, 11:04pm
6
Oh I see.
Can you give us the organization name / slug or an app name where this broke for you?
If you could also provide what error you got, that could help. I can try to find the affected org / app / server with that information.
_Andrew
November 15, 2022, 11:14pm
7
Thanks, the organization slug is alive-tech
. The command appears to have started working now without me changing anything. Here’s what I see:
$ fly deploy
[…]
--> v1 deployed successfully
$ fly ssh console
Connecting to fdaa:0:ddee:a7b:a45b:a846:fc38:2... complete
Error error connecting to SSH server: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
$ fly ssh --help
[…]
$ fly ssh issue --help
[…]
$ fly --verbose ssh console
Connecting to fdaa:0:ddee:a7b:a45b:a846:fc38:2... complete
#
$ fly ssh console
Connecting to fdaa:0:ddee:a7b:a45b:a846:fc38:2... complete
#