Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 使用mac启动tidb报错
{“code”: 1, “error”: “failed to fetch cpu-arch or kernel-name: executor.ssh.execute_failed: Failed to execute command over SSH for ‘alan@192.168.122.23:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c "uname -m"}, cause: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain”, “errorVerbose”: “executor.ssh.execute_failed: Failed to execute command over SSH for ‘alan@192.168.122.23:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c "uname -m"}, cause: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain at github.com/pingcap/tiup/pkg/cluster/executor.(*EasySSHExecutor).Execute() github.com/pingcap/tiup/pkg/cluster/executor/ssh.go:174 at github.com/pingcap/tiup/pkg/cluster/executor.(*CheckPointExecutor).Execute() github.com/pingcap/tiup/pkg/cluster/executor/checkpoint.go:85 at github.com/pingcap/tiup/pkg/cluster/task.(*Shell).Execute() github.com/pingcap/tiup/pkg/cluster/task/shell.go:43 at github.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute() github.com/pingcap/tiup/pkg/cluster/task/task.go:86 at github.com/pingcap/tiup/pkg/cluster/task.(*StepDisplay).Execute() github.com/pingcap/tiup/pkg/cluster/task/step.go:111 at github.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1() github.com/pingcap/tiup/pkg/cluster/task/task.go:144 at runtime.goexit() runtime/asm_arm64.s:1263 github.com/pingcap/errors.AddStack github.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/errors.go:174 github.com/pingcap/errors.Trace github.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/juju_adaptor.go:15 github.com/pingcap/tiup/pkg/cluster/task.(*Shell).Execute github.com/pingcap/tiup/pkg/cluster/task/shell.go:50 github.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute github.com/pingcap/tiup/pkg/cluster/task/task.go:86 github.com/pingcap/tiup/pkg/cluster/task.(*StepDisplay).Execute github.com/pingcap/tiup/pkg/cluster/task/step.go:111 github.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1 github.com/pingcap/tiup/pkg/cluster/task/task.go:144 runtime.goexit runtime/asm_arm64.s:1263 failed to fetch cpu-arch or kernel-name”}