reading a file from remote host using perl
问题 I am trying to read a file(temp.txt) placed under /root directory on remote host(ubuntu) in same LAN from ubuntu machine.(ssh and ftp are open) The perl script is able to connect and a OpenSSH dialog box appears asking for password and then program exists.Please anybody helps..below is my script. use POSIX qw(strftime); use strict; use warnings; use File::Remote; my $remote = new File::Remote; # Standard filehandles $remote->open(FILE, ">>X.X.X.X:/root/temp.txt") or die $!; print FILE "Here's