| Class | Net::SSH::Session |
| In: |
lib/net-ssh-session/version.rb
lib/net/ssh/session.rb |
| Parent: | Object |
| VERSION | = | '0.1.6' |
| connection | [R] | |
| history | [R] | |
| host | [R] | |
| logger | [R] | |
| options | [R] | |
| password | [R] | |
| shell | [R] | |
| timeout | [R] | |
| user | [R] |
Initialize a new ssh session @param [String] remote hostname or ip address @param [String] remote account username @param [String] remote account password @param [Hash] options hash
Execute command @param [String] command to execute @param [Block] output event block @return [Integer] command execution exit code
Execute a single command @param [String] comand to execute @param [Hash] execution options @return [SessionCommand]