I am trying to SSH from one arista to another then execute a file.
if i run below commmand manually on first arista cli it’s connected second switch and execute file correctly.
SW01#bash ssh -i /home/admin/.ssh/id_rsa 220.127.116.11 bash /home/admin/eth1_up.sh
but when i want to automate and write an event-handler on first arista it’s connected second switch but not execute file.
what could i missing?
Thanks in advance.
Post your Answer
You must be logged in to post an answer.