Can anyone please guide me how to push archival config with Pyez or Napalm?
I am sending archival configuration to juniper device.
========================================
set system archival configuration transfer-on-commit
set system archival configuration archive-sites "
scp://co...@10.10.10.10:/opt/config_backup" password "mypassword"
========================================
when entering these commands manually we need to answer the following prompt.
Are you sure you want to continue connecting (yes/no)?
The config backup to archival server(suppose 10.10.10.10) works fine as we add the ssh key for archival server to Juniper device's list of know hosts.
With napalm_configure it configures these commands but config backup to my archival server
Fails. May be it does not answer that prompt where device adds archival server's ssh key to known hosts.