need perl script to connect via ssh, upload files, run commands

已完成 已发布的 May 12, 2008 货到付款
已完成 货到付款

I need a Perl script that is basically a 'hello world' example of connecting to a remote site via SSH, uploading a file from the local disk to the remove server, downloading a file from the remote server to the local disk, and running a command on the remote server.

## Deliverables

Just a script that demonstrates connecting to a remote server via SSH, then uploading a file from local to remote, then downloading a file from remote to local, then running a command in the SSH console on the remote server, and then finally disconnecting.

I suspect that once you have installed the right Perl packages or modules or whatever you call them, the whole thing can be done in just a few lines of code.

Also, if I have to install any extra Perl modules in order to make it work, just tell me how to install those (preferably the exact commands I need to type). I'm running Perl 5.8.0 on Red Hat Linux release 9 (Shrike).

## Platform

The Perl script only needs to run on Perl 5.8.0 on Red Hat Linux release 9 (Shrike). But if I need to install additional Perl modules or packages to make it work, please tell me how to do that too.

Odd Jobs Perl

项目ID: #3924555

关于项目

3个方案 远程项目 活跃的May 12, 2008

授予:

nvenkatesh27

See private message.

$25.5 USD 在14天内
(7条评论)
2.3

有3名威客正在参与此工作的竞标,均价$51/小时

waster

See private message.

$42.5 USD 在14天内
(93条评论)
5.5
bocodevw

See private message.

$85 USD 在14天内
(43条评论)
5.4