Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

SSH Login to Vmware ESXi with ssh keys
https://forum.ivorde.com/ssh-login-to-vmware-esxi-with-ssh-keys-t19945.html
Page 1 of 1

Author:  admin [ Wed May 24, 2017 7:28 am ]
Post subject:  SSH Login to Vmware ESXi with ssh keys

To login with ssh private key in Vmware ESXi, store the public key in the following file: /etc/ssh/keys-root/authorized_keys
Code:
# cat mykey.pub >> /etc/ssh/keys-root/authorized_keys


Make sure to use double angle brackets to avoid losing the contents of /etc/ssh/keys-root/authorized_keys.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/