Did you try to do that from the command line?
Try Net::SSH2 or Net::SSH::Perl which will let you pass username/pass
In reply to Re^3: Standard input must be tty
by tachyon-II
in thread Standard inpute must be tty
by sameerperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |