I am trying to write a script to log into a remote host (not mikrotik) and issue some commands.
Specifically I am trying to ssh (or telnet, or snmp) into a tripp lite ups and reboot the ups. Has anyone here done this before or have any suggestions? The problem is I can’t complete the login sequence as
/system tool ssh user=user command=“” does not work.
in routeros you add DSA pub key and then you can log into this router using private key. Lately Routeros has gained feature that you can login to other device using private key if public key is present. If remote device supports ssh keyed login, then you can do that and execute remote commands using ssh.