Search the Community
Showing results for tags 'Putty'.
-
I want to create script to putty auto login and its work. RunWait('"C:\Program Files\PuTTY\putty.exe" -ssh SERVER -l root -pw PASSWORD') but I want to declare like SERVER , username(root or something) , and password. but somehow its not works. Local $SERVER = "SERVER" Local $USER =...
-
My current script: ``` $notepadWindow = RunWait('notepad.exe') ControlSend($notepadWindow, "Edit1", "", "abcde") WinSetState($notepadWindow, "", @SW_MINIMIZE) ``` I can't seem to get these three lines to work. Its supposed to run a notepad window, then enter "abcde", fo...
- 4 replies
-
- minimize
- controlsend
-
(and 1 more)
Tagged with:
-
Hi to all, I only am accustomed pas has posted on the forum (coz, I'm french). But I use it a lot. So first of all, thank you all to participate in the evolution of this wonderful product. Today is not one day like any other, I myself am decide has posted a UDF that I my...
-
Hi, I would like to automate Putty commands whereby it will select my saved telnet session (so open Putty Configuration and select session) and afterwards it will open the Putty-prompt and will do next commands: <Enter> ACCESS <Enter> 'UserName' <Enter> SET Priv <Enter> 'Password'...
-
$user = "root" $password ="" $host ="5.0.0.1" $port ="22" $puty_exe = @ScriptDir & "\putty.exe"; putty salve local folder script $command = Run(@comspec & " /C "&$puty_exe&" -ssh -l "&$user&" "&$host&" p "&$port&" -pw "&$password,@ScriptDir, @SW_HIDE, 1) While 1 $data = StdoutRead($command) Conso...
-
Hey guys, I want to use Putty/Plink to connect on a remote computer via SSH because I need to execute a couple commands there. So I researched a couple days now and tried like 20 different ways to get this running but I'm still failing. Maybe a little description what my script should do: #Edit:...
- 4 replies
-
- Send
- ControlSend
-
(and 7 more)
Tagged with:
-
Dear Autoit Forum, Before I start, I have checked the following topics, but couldn't get far enough: '?do=embed' frameborder='0' data-embedContent>> Func _PLINK_Connect($remote, $user, $password) Local $hSessionPID = Run("plink.exe -ssh " & $remote & " -l " & $user & " -pw " & $password, "...