Guest

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

7.0(3)I7(8)

Description (partial)

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

EEM:
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@10.93.244.9/home/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

Conditions:
when using inside the EEM script
Bug details contain sensitive information and therefore require a Cisco.com 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.