Mike Wiebe
ff9873beaa
[stable-2.9] Stabilize nxos initiated copy for nxos_file_copy plugin (#62355)
* Retry spawn connection on failure
* Add debug logs
* Additional debug logs
* Close session before respawn attempt
* More debug info and increase loops
* Remove debug info and reset error dict on reconnect
* Add epdb debuger
* Add epdb debuger
* Add epdb debuger
* Wait before sending password and close pexpect session
* Fix comment typo
* Scrub error logs
* Scrub error logs
* Add more specific initial connect pattern
* Fix shippable errors
* Dont make remote_scp_server_password a hard requirement
* Add saftey check
(cherry picked from commit 97b15e9f0c)