Tuesday, April 2, 2013

SSH to ESXi host with public key

cat ~/.ssh/id_rsa.pub | ssh root@esxi.local 'cat >> /etc/ssh/keys-root/authorized_keys'