Closed tslytsly closed 1 year ago
I wrote the script on a router with no password, to make this work on a password protected device, all you need to do is set up an RSA key pair that the router can use when it does the ssh-exec to itself.
In the future when the RotuerOS :execute function gets a variable output option, it will be possible to replace this workaround with that function.
Hi, Thanks for the video and this fun script. I'm trying to get it to work, and it seems that the ssh-exec trick doesn't work. I just get:
(I've tried with both
0.0.0.0
and127.0.0.1
)It looks like the router needs me to login when running this command.
Not sure how to resolve this?