错误日志如下:
Error: init config failed: 172.26.200.237:2379: transfer from /home/tidb/.tiup/storage/cluster/clusters/tidb-dqs/config-cache/pd-172.26.200.237-2379.service to /tmp/pd_bac579df-abdf-4f4f-be8f-2db7252a6a2b.service failed: failed to scp /home/tidb/.tiup/storage/cluster/clusters/tidb-dqs/config-cache/pd-172.26.200.237-2379.service to tidb@172.26.200.237:/tmp/pd_bac579df-abdf-4f4f-be8f-2db7252a6a2b.service: Process exited with status 1
原因大概是因为 scp 的端口使用了默认值 22,但是我们是改过scp/ssh端口的;
但是我找不到如何去scp端口