class SimpleSsh
- SimpleSsh
- Reference
- Object
Defined in:
simple_ssh.crsimple_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
- .new(user : String, host : String, port : Int32 = 22)
- .new(user : String, ip : Socket::IPAddress)
- .new(user : String, *, ip : String, port = 22)
Class Method Summary
Instance Method Summary
- #<<(command)
- #command(command : String)
- #host : String
- #port : Int32
- #run(command : String) : Response
- #run
- #run(command : String, &)
- #run(&)
- #user : String