SimonP Posted April 21, 2010 Share Posted April 21, 2010 Hi, I had a requirement of connecting to a remote server using port 22 (secure) to pull down some files via a scheduled task and I did not want the username and password written in the batch file or scheduled task. I have written a wrapper script using AutoIT for the pscp.exe utility that incorporates the username and password within the compiled script. I have also included the pscp.exe file itself using the FileInstall() command. It all works fine except when it is running, the pscp.exe process appears in Process Explorer as a child process and when I view it's propertities it shows the full command line - including the username and password. Is there a way AutoIT can run the pscp.exe without it appearing as a child process? Thanks in advance. Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 22, 2010 Share Posted April 22, 2010 Will the server support a private 1024-bit key instead of a password? Only the .ppk key file name shows up in the command line then. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
SimonP Posted April 22, 2010 Author Share Posted April 22, 2010 Thanks for your reply. I know that certificates is another option but prefer not to use them if possible. Would prefer to use password authenticate if I can find a way to hide the password. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now