Hi.
Problem first: passwordless authentication from TrueNAS Core to a ESXi 7 host requests a password in TrueNAS shell.
I'm trying to shutdown an AiO machine consisting of ESXi7, most recent TrueNAS Core and an APC UPS with an NMC2 and followed the guide https://www.truenas.com/community/r...rt-for-single-or-multiple-freenas-servers.30/
Connection to the UPS is working fine (besides the lack of AES support in the driver), but I'm unable to setup passwordless ssh authentication between TrueNAS and the ESXi host its running on. I've created a keypair using TrueNAS>General>SSH Keypairs and setup a connection under TrueNAS>General>SSH Connections. The correct Remote Host Key is detected automatically. I've copied the public key generated in TrueNAS to my ESXi instance, setup everything there and validated the ESXi config using Putty on my workstation, where the passwordless login is working fine.
Unfortunately, when I try to ssh into my ESXi host from TrueNAS>Shell: "ssh root@[ip]" I receive a password prompt which won't work in case of an unattended power failure.
Any ideas why the SSH Connection and SSH Keypair from the TrueNAS gui seems to be ignored or how I can make it work? I've already read https://www.truenas.com/community/threads/passwordless-ssh-into-solaris-machines.94925/ and https://www.truenas.com/docs/core/tasks/rsync/ but couldn't find the error. User and ip fields of the "SSH Connection" form are identical to the command I'm running from the web shell.
Thank you for any suggestions.
Problem first: passwordless authentication from TrueNAS Core to a ESXi 7 host requests a password in TrueNAS shell.
I'm trying to shutdown an AiO machine consisting of ESXi7, most recent TrueNAS Core and an APC UPS with an NMC2 and followed the guide https://www.truenas.com/community/r...rt-for-single-or-multiple-freenas-servers.30/
Connection to the UPS is working fine (besides the lack of AES support in the driver), but I'm unable to setup passwordless ssh authentication between TrueNAS and the ESXi host its running on. I've created a keypair using TrueNAS>General>SSH Keypairs and setup a connection under TrueNAS>General>SSH Connections. The correct Remote Host Key is detected automatically. I've copied the public key generated in TrueNAS to my ESXi instance, setup everything there and validated the ESXi config using Putty on my workstation, where the passwordless login is working fine.
Unfortunately, when I try to ssh into my ESXi host from TrueNAS>Shell: "ssh root@[ip]" I receive a password prompt which won't work in case of an unattended power failure.
Any ideas why the SSH Connection and SSH Keypair from the TrueNAS gui seems to be ignored or how I can make it work? I've already read https://www.truenas.com/community/threads/passwordless-ssh-into-solaris-machines.94925/ and https://www.truenas.com/docs/core/tasks/rsync/ but couldn't find the error. User and ip fields of the "SSH Connection" form are identical to the command I'm running from the web shell.
Thank you for any suggestions.
Last edited: