1.打开终端 2.看是否是处于root目录下,是看第3步:否则执行sudo -i,输入电脑密码 3.执行 ssh root@host(host:ip地址或者域名) 4.如果不是第一次,则已成功连接.第一次则会出现如下提示 The authenticity of host '********' can't be established. ECDSA key fingerprint is SHA256:**********. Are you sure you want to continue con