Is there any reason why you are not using public keys for authentication?
In reply to Re^3: Net::SFTP Problem by salva in thread Net::SFTP Problem by Zoop