Blocked on "ssh: handshake failed:" for server add flow #250

Closed
opened 2021-11-18 18:47:11 +00:00 by decentral1se · 2 comments
Owner

Discussion running on #coopcloud-tech:autonomic.zone, creating to track progress...

/cc @knoflook @3wordchant @notplants

~/.abra/servers/mm.hyphalfusion.network $ abra -d server add -p mm.hyphalfusion.network root
DEBU[0000] '/Users/notplants/.abra' already created, moving on...  caller="/drone/src/cli/cli.go:102 newAbraApp.func1"
DEBU[0000] '/Users/notplants/.abra/servers' already created, moving on...  caller="/drone/src/cli/cli.go:102 newAbraApp.func1"
DEBU[0000] '/Users/notplants/.abra/apps' already created, moving on...  caller="/drone/src/cli/cli.go:102 newAbraApp.func1"
DEBU[0000] '/Users/notplants/.abra/vendor' already created, moving on...  caller="/drone/src/cli/cli.go:102 newAbraApp.func1"
DEBU[0000] abra version '0.3.1-alpha-rc1', commit 'fcbf41ee95be074bce36165cd56cdae6d8ef7e56'  caller="/drone/src/cli/cli.go:108 newAbraApp.func1"
DEBU[0000] validated 'mm.hyphalfusion.network' as domain argument  caller="/drone/src/cli/internal/validate.go:129 ValidateDomain"
INFO[0000] successfully created /Users/notplants/.abra/servers/mm.hyphalfusion.network  caller="/drone/src/pkg/server/server.go:24 CreateServerDir"
DEBU[0000] creating context with domain mm.hyphalfusion.network, username root and port 22  caller="/drone/src/cli/server/add.go:182 newContext"
DEBU[0000] created the 'mm.hyphalfusion.network' context  caller="/drone/src/pkg/client/context.go:29 CreateContext"
DEBU[0000] found context connection details &{root mm.hyphalfusion.network 22} for mm.hyphalfusion.network  caller="/drone/src/pkg/ssh/ssh.go:493 GetContextConnDetails"
DEBU[0000] server SSH host key present in ~/.ssh/known_hosts for mm.hyphalfusion.network  caller="/drone/src/pkg/ssh/ssh.go:279 GetHostKey"
DEBU[0000] created client for 'mm.hyphalfusion.network'  caller="/drone/src/pkg/client/client.go:58 New"
DEBU[0000] attempting to construct SSH client for mm.hyphalfusion.network  caller="/drone/src/cli/server/add.go:481 glob..func1"
DEBU[0000] found context connection details &{root mm.hyphalfusion.network 22} for mm.hyphalfusion.network  caller="/drone/src/pkg/ssh/ssh.go:493 GetContextConnDetails"
DEBU[0000] tcp dialing mm.hyphalfusion.network:22        caller="/drone/src/pkg/ssh/ssh.go:383 connect"
DEBU[0000] found context connection details &{root mm.hyphalfusion.network 22} for mm.hyphalfusion.network  caller="/drone/src/pkg/ssh/ssh.go:493 GetContextConnDetails"
DEBU[0000] server SSH host key present in ~/.ssh/known_hosts for mm.hyphalfusion.network:22  caller="/drone/src/pkg/ssh/ssh.go:279 GetHostKey"
DEBU[0000] server SSH host key found for mm.hyphalfusion.network, moving on  caller="/drone/src/pkg/ssh/ssh.go:323 HostKeyAddCallback"
FATA[0000] ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain  caller="/drone/src/cli/server/add.go:484 glob..func1" stack="/drone/src/cli/server/add.go:484                           glob..func1\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163 (*Command).Run\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:434     (*App).RunAsSubcommand\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:278 (*Command).startApp\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:94  (*Command).Run\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313     (*App).RunContext\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224     RunApp\n/drone/src/cli/cli.go:119                                  RunApp\n/drone/src/cmd/abra/main.go:23                             main\n/usr/local/go/src/runtime/proc.go:255                      main\n/usr/local/go/src/runtime/asm_amd64.s:1581                 goexit"
Discussion running on `#coopcloud-tech:autonomic.zone`, creating to track progress... /cc @knoflook @3wordchant @notplants ``` ~/.abra/servers/mm.hyphalfusion.network $ abra -d server add -p mm.hyphalfusion.network root DEBU[0000] '/Users/notplants/.abra' already created, moving on... caller="/drone/src/cli/cli.go:102 newAbraApp.func1" DEBU[0000] '/Users/notplants/.abra/servers' already created, moving on... caller="/drone/src/cli/cli.go:102 newAbraApp.func1" DEBU[0000] '/Users/notplants/.abra/apps' already created, moving on... caller="/drone/src/cli/cli.go:102 newAbraApp.func1" DEBU[0000] '/Users/notplants/.abra/vendor' already created, moving on... caller="/drone/src/cli/cli.go:102 newAbraApp.func1" DEBU[0000] abra version '0.3.1-alpha-rc1', commit 'fcbf41ee95be074bce36165cd56cdae6d8ef7e56' caller="/drone/src/cli/cli.go:108 newAbraApp.func1" DEBU[0000] validated 'mm.hyphalfusion.network' as domain argument caller="/drone/src/cli/internal/validate.go:129 ValidateDomain" INFO[0000] successfully created /Users/notplants/.abra/servers/mm.hyphalfusion.network caller="/drone/src/pkg/server/server.go:24 CreateServerDir" DEBU[0000] creating context with domain mm.hyphalfusion.network, username root and port 22 caller="/drone/src/cli/server/add.go:182 newContext" DEBU[0000] created the 'mm.hyphalfusion.network' context caller="/drone/src/pkg/client/context.go:29 CreateContext" DEBU[0000] found context connection details &{root mm.hyphalfusion.network 22} for mm.hyphalfusion.network caller="/drone/src/pkg/ssh/ssh.go:493 GetContextConnDetails" DEBU[0000] server SSH host key present in ~/.ssh/known_hosts for mm.hyphalfusion.network caller="/drone/src/pkg/ssh/ssh.go:279 GetHostKey" DEBU[0000] created client for 'mm.hyphalfusion.network' caller="/drone/src/pkg/client/client.go:58 New" DEBU[0000] attempting to construct SSH client for mm.hyphalfusion.network caller="/drone/src/cli/server/add.go:481 glob..func1" DEBU[0000] found context connection details &{root mm.hyphalfusion.network 22} for mm.hyphalfusion.network caller="/drone/src/pkg/ssh/ssh.go:493 GetContextConnDetails" DEBU[0000] tcp dialing mm.hyphalfusion.network:22 caller="/drone/src/pkg/ssh/ssh.go:383 connect" DEBU[0000] found context connection details &{root mm.hyphalfusion.network 22} for mm.hyphalfusion.network caller="/drone/src/pkg/ssh/ssh.go:493 GetContextConnDetails" DEBU[0000] server SSH host key present in ~/.ssh/known_hosts for mm.hyphalfusion.network:22 caller="/drone/src/pkg/ssh/ssh.go:279 GetHostKey" DEBU[0000] server SSH host key found for mm.hyphalfusion.network, moving on caller="/drone/src/pkg/ssh/ssh.go:323 HostKeyAddCallback" FATA[0000] ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain caller="/drone/src/cli/server/add.go:484 glob..func1" stack="/drone/src/cli/server/add.go:484 glob..func1\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163 (*Command).Run\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:434 (*App).RunAsSubcommand\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:278 (*Command).startApp\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:94 (*Command).Run\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313 (*App).RunContext\n/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224 RunApp\n/drone/src/cli/cli.go:119 RunApp\n/drone/src/cmd/abra/main.go:23 main\n/usr/local/go/src/runtime/proc.go:255 main\n/usr/local/go/src/runtime/asm_amd64.s:1581 goexit" ```
decentral1se added the
bug
abra
labels 2021-11-18 18:47:11 +00:00
Author
Owner

fyi coop-cloud/organising#249 (comment) might help (only available via source build for now tho 🙈)

fyi https://git.coopcloud.tech/coop-cloud/organising/issues/249#issuecomment-10522 might help (only available via source build for now tho 🙈)
decentral1se added the
awaiting-feedback
label 2021-11-21 13:06:36 +00:00
decentral1se added this to the Beta release (software) project 2021-11-21 14:36:50 +00:00
decentral1se added this to the (deleted) milestone 2021-11-21 14:36:55 +00:00
Author
Owner
Folding into https://git.coopcloud.tech/coop-cloud/organising/issues/251.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/organising#250
No description provided.