报错原因:
本机与远程主机ip之前配对过密钥
LdeMacBook-Pro:~ $ ssh root@10.211.55.5 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:zOa3QhCzCn3jYjbdgSfWiDofQFomE3B4bvkMbOQxl88. Please contact your system administrator. Add correct host key in /Users/lu/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/lu/.ssh/known_hosts:10 ECDSA host key for 10.211.55.5 has changed and you have requested strict checking. Host key verification failed.
解决方法:
vi ~/.ssh/known_hosts
删除对应密钥文件即可
LdeMacBook-Pro:~ $ ssh root@10.211.55.5 The authenticity of host '10.211.55.5 (10.211.55.5)' can't be established. ECDSA key fingerprint is SHA256:zOa3QhCzCn3jYjbdgSfWiDofQFomE3B4bvkMbOQxl88. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '10.211.55.5' (ECDSA) to the list of known hosts. root@10.211.55.5's password: Last login: Thu Mar 12 11:10:59 2020
最新评论
# 这只是一个创建远程登录并授权的语句、仅作为记录 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'Fit2cloud!' WITH GRANT OPTION;
当MGR集群初始化结束后,需要开启MGR集群自启动(需要有一台节点是自动开启引导) loose-group_replication_start_on_boot = ON #设置节点是否在启动时自动启动 MGR 集群 loose-group_replication_bootstrap_group = ON #设置节点是否作为初始引导节点启动集群
密码:blog.sirliu.com
本内容密码:blog.sirliu.com 最新整理的文章在这里喔:https://blog.sirliu.com/2018/11/shell_lian_xi_ti.html