Jump to content

Recommended Posts

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...