【 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
通过密码还是密钥,又或者是免密都登陆来执行的?先ssh登陆下root@192.168.2.5:22这个机器看下
通过密码
每台机先互相ssh登陆一下
可能是因为你的密码里面有特殊字符,比如!@之类的。
直接-p
在询问的时候,把密码复制进去就好了。
-uroot -p
先别输入密码,等交互窗口之后输入密码
SSH 服务未启动或配置错误,请确认目标主机的 SSH 服务是否已正确启动
我怎么感觉是你命令没敲对,语法是:tiup cluster scale-out <topology.yaml> [flags]