tasks/ext/SshTask.php

Show: inherited
Table of Contents

Execute commands on a remote host using ssh.

Author
Johan Van den Brande  
Package
phing.tasks.ext  
Version
$Id: SshTask.php 1205 2011-07-02 10:34:13Z mrook $  

\SshTask

Package: phing\tasks\ext

Execute commands on a remote host using ssh.

Parent(s)
\Task < \ProjectComponent
Author
Johan Van den Brande  
Version
$Id: SshTask.php 1205 2011-07-02 10:34:13Z mrook $  

Properties

Propertyprivate  $command= '""'
Default value""Details
Type
n/a
Propertyprivateboolean  $display= 'true'

Whether to display the output of the command

Default valuetrueDetails
Type
boolean
Propertyprivate  $host= '""'
Default value""Details
Type
n/a
Propertyprivate  $password= '""'
Default value""Details
Type
n/a
Propertyprivate  $port= '22'
Default value22Details
Type
n/a
Propertyprivate  $privkeyfile= ''''
Default value''Details
Type
n/a
Propertyprivate  $privkeyfilepassphrase= ''''
Default value''Details
Type
n/a
Propertyprivatestring  $property= '""'

The name of the property to capture (any) output of the command

Default value""Details
Type
string
Propertyprivate  $pubkeyfile= ''''
Default value''Details
Type
n/a
Propertyprivate  $username= '""'
Default value""Details
Type
n/a

Methods

methodpublicgetCommand( ) : void

methodpublicgetDescription( ) : void

methodpublicgetHost( ) : void

methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetPassword( ) : void

methodpublicgetPort( ) : void

methodpublicgetPrivkeyfile( ) : void

Returns the private keyfile

methodpublicgetPrivkeyfilepassphrase(  $privkeyfilepassphrase ) : void

Returns the private keyfile passphrase

Parameters
Name Type Description
$privkeyfilepassphrase
methodpublicgetProject( ) : void

methodpublicgetPubkeyfile( ) : void

Returns the pubkeyfile

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicgetUsername( ) : void

methodpublicinit( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetCommand(  $command ) : void

Parameters
Name Type Description
$command
methodpublicsetDescription( ) : void

methodpublicsetDisplay( boolean $display ) : void

Sets whether to display the output of the command

Parameters
Name Type Description
$display boolean
methodpublicsetHost(  $host ) : void

Parameters
Name Type Description
$host
methodpublicsetLocation( ) : void

methodpublicsetOwningTarget( ) : void

methodpublicsetPassword(  $password ) : void

Parameters
Name Type Description
$password
methodpublicsetPort(  $port ) : void

Parameters
Name Type Description
$port
methodpublicsetPrivkeyfile(  $privkeyfile ) : void

Sets the private key file of the user to scp

Parameters
Name Type Description
$privkeyfile
methodpublicsetPrivkeyfilepassphrase(  $privkeyfilepassphrase ) : void

Sets the private key file passphrase of the user to scp

Parameters
Name Type Description
$privkeyfilepassphrase
methodpublicsetProject( ) : void

methodpublicsetProperty( string $property ) : void

Sets the name of the property to capture (any) output of the command

Parameters
Name Type Description
$property string
methodpublicsetPubkeyfile(  $pubkeyfile ) : void

Sets the public key file of the user to scp

Parameters
Name Type Description
$pubkeyfile
methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

methodpublicsetUsername(  $username ) : void

Parameters
Name Type Description
$username
Documentation was generated by DocBlox 0.17.1.