Issues with pscp password with special characters in bach script
I have a password like this: ?$ax#z4%8?1
I wasnt to use that to pscp to multiple servers and copy a file to the cgi/bin folder using a batch file
I have tried:
?$ax#z4%8?1
\\?\\$ax\\#z4\\%8\\?1
\?\$ax\#z4\%8\?1
%%3F%%24ax%%23z4%%258%%3F1
%3F%24ax%23z4%258%3F1
In the below command:
"C:\Program Files (x86)\PuTTY\pscp" -pw password myfile root@xx.xx.xx.xx:/www/cgi-bin/
I wasnt to use that to pscp to multiple servers and copy a file to the cgi/bin folder using a batch file
I have tried:
?$ax#z4%8?1
\\?\\$ax\\#z4\\%8\\?1
\?\$ax\#z4\%8\?1
%%3F%%24ax%%23z4%%258%%3F1
%3F%24ax%23z4%258%3F1
In the below command:
"C:\Program Files (x86)\PuTTY\pscp" -pw password myfile root@xx.xx.xx.xx:/www/cgi-bin/