Re: ssh into remote nodes, do mulitple commands
- From: zentara <zentara@xxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 14:07:41 GMT
On Tue, 29 Jan 2008 17:32:41 -0800 (PST), Nene <rodbass63@xxxxxxxxx>
wrote:
Hello,
I'm trying to use Net::SSH to ssh into 3 nodes and move/copy files
with File::Copy. For now, I scripted it to find files of a certain
age and move them.
The $cmd variable is working, but when I try to move the files, it
errors with copy failed. Please critique or suggest a better way.
Thanks in advance!!!!
Try Net::SSH2 , its better. Sftp is incorporated
into it, and you probably want to use it for file transfers.
See:
http://perlmonks.org?node_id=569657
also ask on the SSH maillist
http://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users
zentara
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
.
- References:
- ssh into remote nodes, do mulitple commands
- From: Nene
- ssh into remote nodes, do mulitple commands
- Prev by Date: FAQ 1.1 What is Perl?
- Next by Date: Re: C's gotoxy() equivalent in Perl
- Previous by thread: ssh into remote nodes, do mulitple commands
- Next by thread: Re: ssh into remote nodes, do mulitple commands
- Index(es):
Relevant Pages
|