【 TiDB 使用环境】测试
【 TiDB 版本】v8.2.0
【复现路径】安装了一个tidb 8.2正常使用。然后升级openssh到9.7,新版本id_rsa用不了了,使用ssh-keygen重新生成了一个id_ed25519密钥,现在tidb无法执行命令。
【遇到的问题:问题现象及影响】
现在执行命令报错,请问tidb这边需要更新什么配置吗。
例如执行tiup cluster destroy tidb-aaa报以下错误:
Error: failed to stop tidb: failed to stop: 2001:250:4000:2000::53 tidb-4000.service, please check the instance’s log(/home/aaa/tidb-deploy/tidb-4000/log) for more detail.: executor.ssh.execute_failed: Failed to execute command over SSH for ‘aaa@2001:250:4000:2000::53:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin; /usr/bin/sudo -H bash -c “systemctl daemon-reload && systemctl stop tidb-4000.service”}, cause: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Verbose debug logs has been written to /home/aaa/.tiup/logs/tiup-cluster-debug-2024-08-19-15-03-40.log.