I got this error only when specifying a batch file (the -b argument). Updating to the 0.83 pre-release version of Putty resolved the issue.