class SimpleSsh

Defined in:

simple_ssh.cr
simple_ssh/log.cr
simple_ssh/version.cr

Constant Summary

VERSION = {{ (`shards version \"/srv/crystaldoc.info/github-GrottoPress-simple_ssh-v1.0.0/src/simple_ssh\"`).chomp.stringify }}

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(user : String, host : String, port : Int32 = 22) #

[View source]
def self.new(user : String, ip : Socket::IPAddress) #

[View source]
def self.new(user : String, *, ip : String, port = 22) #

[View source]

Class Method Detail

def self.log #

[View source]

Instance Method Detail

def <<(command) #

[View source]
def command(command : String) #

[View source]
def host : String #

[View source]
def port : Int32 #

[View source]
def run(command : String) : Response #

[View source]
def run #

[View source]
def run(command : String, &) #

[View source]
def run(&) #

[View source]
def user : String #

[View source]