I'm trying to code some automation with AutoIT to perform the following steps:
1. Login to our firewall using SSH (plink or putty) - "plink.exe -ssh 192.168.1.3 -l admin"
2. Input the password "password" (for example here)
3. Reboot the device
For some reason, trying to do this from CMD results in me always being prompted for the password, even though I add it into the syntax (with using putty or plink by themselves). I'm having the same issue with AutoIT.
Found it...al least ;-)
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$var = Ping("DiskStation",250)
If $var Then
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1_1 = GUICreate("Netzwerkcheck", 507, 248, 402, 14)
GUISetBkColor(0x008000)
$Label1 = GUICtrlCreateLabel("Das Gerät ist im Netz!", 10