Issues with pscp password with special characters in bach script

Advertisement

tarantula3@gmail.com
Joined:
Posts:
1
Location:
USA

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/

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,243
Location:
Prague, Czechia

Re: Issues with pscp password with special characters in bach script

Sorry, this is not a support forum for PSCP.

Reply with quote

Advertisement

You can post new topics in this forum