[Omaha.pm] Net::SSH::Perl and sudo or su

Jay Hannah jay at jays.net
Thu Dec 6 10:33:58 PST 2007


Tony Simons wrote:
> What I'm trying to do is get a perl script to move a file from tmp to 
> etc, or just simply write a  config file to /etc on a ton of remote 
> systems.

You want to move a file from

server1:/etc
  to
server1:/tmp

?  Or is the tmp file on a different host? Is the other host a *nix box?

You can't just scp the file? Or use rsync?

I don't (yet) see why Perl is involved in solving your problem.  :)

j




More information about the Omaha-pm mailing list