04-21-2015 02:49 PM - edited 03-10-2019 10:39 PM
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.