C# Class MCloud.Deploy.SSHDeployment

Base class for deployment types that use SSH.
Inheritance: Deployment
显示文件 Open project: jacksonh/MCloud

Public Methods

Method Description
SSHDeployment ( ) : System

Protected Methods

Method Description
PutDirectory ( string host, NodeAuth auth, string local, string remote ) : void
PutFile ( string host, NodeAuth auth, string local, string remote ) : void
RunCommand ( string command, string host, NodeAuth auth ) : void
SetupSSH ( Tamir.SharpSsh.SshBase ssh, NodeAuth auth ) : void

Method Details

PutDirectory() protected method

protected PutDirectory ( string host, NodeAuth auth, string local, string remote ) : void
host string
auth NodeAuth
local string
remote string
return void

PutFile() protected method

protected PutFile ( string host, NodeAuth auth, string local, string remote ) : void
host string
auth NodeAuth
local string
remote string
return void

RunCommand() protected method

protected RunCommand ( string command, string host, NodeAuth auth ) : void
command string
host string
auth NodeAuth
return void

SSHDeployment() public method

public SSHDeployment ( ) : System
return System

SetupSSH() protected method

protected SetupSSH ( Tamir.SharpSsh.SshBase ssh, NodeAuth auth ) : void
ssh Tamir.SharpSsh.SshBase
auth NodeAuth
return void