Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 扩容ticdc遇到的报错 有大佬知道什么原因吗
[Test Environment for TiDB]
Error: failed to fetch cpu-arch or kernel-name: executor.ssh.execute_failed: Failed to execute command over SSH for ‘root@192.168.2.5:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin uname -m}, cause: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Is it logged in using a password, key, or passwordless method? First, try SSH logging into the machine at root@192.168.2.5:22 to check.
Each machine should first SSH login to each other.
I added the password, no error reported, but it still didn’t succeed.
It might be because your password contains special characters, such as !@.
Just use -p
When prompted, just paste the password in.
-u root -p
Don’t enter the password yet, wait until the interactive prompt to enter the password.
The SSH service is not started or configured incorrectly. Please confirm whether the SSH service on the target host has been started correctly.
I feel like you didn’t enter the command correctly. The syntax is: tiup cluster scale-out <topology.yaml> [flags]