Filewatcher File Search File Search
Content Search
» » » » » »


Net-SSH-Expect - SSH wrapper to execute remote commands

This module is a wrapper to the *ssh* executable that is available in your system's *$PATH*. Use this module to execute commands on the remote SSH server. It authenticates with the user and password you passed in the constructor's attributes "user" and "password".

Once an ssh connection was started using the "connect()" method it will remain open until you call the "close()" method. This allows you execute as many commands as you want with the "exec()" method using only one connection. This is a better approach over other ssh wrapper implementations, i.e: Net::SCP, Net::SSH and Net::SCP::Expect, that start a new ssh connection each time a remote command is issued or a file is transfered.

It uses ** module to interact with the SSH server. A "get_expect()" method is provided so you can obtain the internal "Expect" object connected to the SSH server. Use this only if you have some special need that you can't do with the "exec()" method.

This module was inspired by Net::SCP::Expect <> and by Net::Telnet and some of its methods work the same as these two modules.

Package version:1.09

Browse inside perl-Net-SSH-Expect-1.09-9.fc17.src.rpm

1.74 KB2014-11-26HEADER  view  9 mirrors
14.72 KB2014-11-26Net-SSH-Expect-1.09.tar.gz  view  642+ mirrors
3.52 KB2014-11-26perl-Net-SSH-Expect.spec  view

Download perl-Net-SSH-Expect-1.09-9.fc17.src.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017