Preview Tool

Cisco Bug: CSCvu48286 - Passwordless SCP is not working inside an EEM script

Last Modified

Aug 14, 2020

Products (1)

  • Cisco Nexus 9000 Series Switches

Known Affected Releases


Description (partial)

Passwordless SCP is not working inside an EEM script. Same SCP CLI works without any issues while executing it on the CLI prompt.

no event manager applet Start_Backup_SCP
event manager applet Start_Backup_SCP
  event cli match "copy running-config startup-config"
  action 1.0 cli enable
  action 2.0 event-default
  action 3.0 cli copy running-config scp://msft@$(SWITCHNAME)-running-config.$(TIMESTAMP) vrf management
  action 4.0 event-default
  action 5.0 syslog priority notifications msg SCP-StartCfg-Backup-Complete
  action 6.0 event-default

when using inside the EEM script
Bug details contain sensitive information and therefore require a account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.