# 复制key
ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.1.1.1
# 登录ESXi
cp .ssh/authorized_keys /etc/ssh/keys-root/authorized_keys
# 复制key
ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.1.1.1
# 登录ESXi
cp .ssh/authorized_keys /etc/ssh/keys-root/authorized_keys