tiup 在线安装报错Error: executor.ssh.execute_failed: Failed to execute command over SSH

ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.0.31
ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.0.35

31就免密成功 35就不行 ssh上去要输密码

不做免密也可以的,给tidb用户无密码sudo权限,然后这样执行就行tiup cluster deploy tidb-join v6.5.0 ./topology.yaml --user tidb -p

tidb 的家目录需要700权限。不然就不行

免密不成功报什么错,你操作免密之前清空known_hosts 文件了没