Error: Failed to initialize TiDB environment on remote host ‘10…233’ (task.env_init.failed)
caused by: Failed to create new system user ‘tidb’ on remote host
caused by: Failed to execute command over SSH for ‘appdeploy@10…233:22’
caused by: Process exited with status 1
已经按这个方式赋权了,用免密登录报这个
Error: Failed to initialize TiDB environment on remote host ‘10…233’ (task.env_init.failed)
caused by: Failed to create new system user ‘tidb’ on remote host
caused by: Failed to execute command over SSH for ‘appdeploy@10…233:22’
caused by: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
用密码是报下面的错
Error: Failed to initialize TiDB environment on remote host ‘10…233’ (task.env_init.failed)
caused by: Failed to create new system user ‘tidb’ on remote host
caused by: Failed to execute command over SSH for ‘appdeploy@10…233:22’
caused by: Process exited with status 1
直接在本机是可以登录的
[appdeploy@1zzzz ~]$ ssh 10…233
Last login: Mon Jul 20 15:11:27 2020
WARNING: If you are not authorized to access this private computer system, disconnect now. All activities on this system will be monitored and recorded without prior notification or permission!
[appdeploy@1zzzz ~]$
可以连接:
Error: Failed to initialize TiDB environment on remote host ‘10..176’ (task.env_init.failed)
caused by: Failed to create new system user ‘tidb’ on remote host
caused by: Failed to execute command over SSH for 'appdeploy@10..176:22’
caused by: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
Verbose debug logs has been written to /home/appdeploy/logs/tiup-cluster-debug-2020-07-20-20-58-18.log.
Error: run `` (wd:/home/appdeploy/.tiup/data/S5HlxYC) failed: exit status 1
[appdeploy@1a01vlb5951zzzz ~]$ ssh appdeploy@10.*****.176
Last login: Mon Jul 20 20:54:17 2020 from 10.****.233
WARNING: If you are not authorized to access this private computer system, disconnect now. All activities on this system will be monitored and recorded without prior notification or permission!
[appdeploy@1a01vlb5973zzzz ~]$