cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
457
Views
0
Helpful
0
Replies

Cisco Event manager applet to SSH in a remote router/firewall

Rizwan Khan
Level 1
Level 1

Hello Experts,

I am having issues in using event manager applet to login to remote router. I can telnet to the router and able to issue commands but this is not the case with ssh.

event manager applet SSH
 event none
 action 1.0 cli command "ssh -l user ip address" pattern "word:"
 action 2.0 cli command "actual-password" pattern "#"
 action 3.0 cli command "configure terminal" pattern "#"
 action 4.0 cli command "interface loopback1" pattern "#"
 action 5.0 cli command "ip address 20.20.20.20 255.255.255.255" pattern "#"

by above script, i am able to ssh into the router, authentication is passed but after that no command is running, i changed conf terminal command with many others but the router does nothing. I debugged the event manger action cli. and clearly shows that my device is able to authenticate and SSH ed into the router after that it hangs in there. can any one help me out with this please.

 

0 Replies 0