there is some confusion . please clear it my dear.

in the code you give u didnt mention where i have to give the pass bcoz as i said if i give pass in pass.txt then in ur give script you didnt use ip.txt anywhere or you want me to give pass in remotes user list if yes then tell me how and what will b e format of password?