7 lines
291 B
PowerShell
7 lines
291 B
PowerShell
$Password = "Ob>Q%T\;Cf(9\+T+-7lNQl*i*)(3;Egl"
|
|
$command = 'python /home/spaethf/tap_meg.py'
|
|
$servername = '192.168.178.4'
|
|
$username = 'spaethf'
|
|
$plinkpath = 'C:\Program Files (x86)\PuTTY\'
|
|
#Execute SSH command
|
|
echo y | &($plinkpath + "plink.exe") -pw $password $username@$servername $command |