Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
SimpleSsh
Inherits
Reference
<
Object
Constants
VERSION = "1.0.1"
Constructors
new
(user :
String
, host :
String
, port :
Int32
= 22)
Source
new
(user :
String
, ip :
Socket::IPAddress
)
Source
new
(user :
String
, *, ip :
String
, port = 22)
Source
Class methods
log
Source
Instance methods
<<
(command)
Source
command
(command :
String
)
Source
host
Source
port
Source
run
(command :
String
) :
Response
Source
run
Source
run
(command :
String
, &)
Source
run
Source
user
Source
Nested types
SimpleSsh::Error
SimpleSsh::Response