I’m trying to use key based authentication to establish a NETCONF SSH connection on ConfD Basic. I was able to successfully import and log in using my key on an XR device, but I’m not sure how to do this for ConfD Basic.
I tried the using the ssh files under ‘/etc/confd/ssh/’ (ssh_host_rsa_key, ssh_host_rsa_key.pub), I got the following error output:
TRACE: Publickey authentication
TRACE: Trying to authenticate using pair ~/confd/etc/confd/ssh/ssh_host_rsa_key ~/confd/etc/confd/ssh/ssh_host_rsa_key.pub
TRACE: Password authentication (host 127.0.0.1, user admin)
TRACE: Authentication failed (Access denied. Authentication that can continue: publickey,password)