SSH Error When Expanding Machines

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 扩容机器ssh提示错误

| username: wakaka

[TiDB Usage Environment] Production Environment / Testing / PCO
[TiDB Version] 5.0.6
[Encountered Problem] Expansion machine prompts Error: failed to fetch cpu-arch or kernel-name: executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@172.21.78.0:22’ {ssh_stderr: We trust you have received the usual lecture from the local System Administrator

However, passwordless SSH is actually configured, and remote commands can be executed manually via SSH.

[Reproduction Path] Operations performed that led to the problem
[Problem Phenomenon and Impact]
Unable to expand


[Attachment]

| username: wakaka | Original post link

Sorry about the sudo issue.

| username: alfred | Original post link

Is it because sudo permissions were not granted?

| username: wakaka | Original post link

It has been confirmed to be a sudo issue. Thank you.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.