Are you sure you are using the right password? could there be more than one server, with different configurations, listening at the same address?
You can also try running the program with strace and checking that the password is written to the PTY from the Perl side and also read from the ssh slave process correctly.
In reply to Re^3: Net::SFTP::Foreign works intermittently
by salva
in thread Net::SFTP::Foreign works intermittently
by JustPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |