Irregular Expressions:

net::ssh::expect

1

May 10, 2010  1:23 PM

Automating system tasks with Perl – Part 2



Posted by: Dan O'Connor
net::ssh::expect, perl, SIG

Here is a more complicated example that I created for Expect. Set up the connection again.

        my $ssh = Net::SSH::Expect->new (
            host => "myserver.com",
            password=> 'pass87word',
            user => 'bnegrao',
            raw_pty => 1
       ...

April 30, 2010  8:36 PM

Automating system tasks with Perl – Part 1



Posted by: Dan O'Connor
net::ssh::expect, perl expect

Bash and sh scripts are great for automating system tasks on the local host. For remote hosts I preferred to use Perl, you can use Perl to login via ssh or telnet ( great for routers ) and you can also do simple tasks on web sites. For connecting to remote systems I use...


1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: