| Module | Net::SSH::SessionHelpers |
| In: |
lib/net/ssh/session_helpers.rb
|
Execute command and capture any output @param command [String] command to execute @return [String] execution result
Check if remote directory exists @param path [String] directory path @return [Boolean] execution result
Export an environment variable @param key [String] variable name @param value [String] variable value @return [Boolean] execution result
Kill a process with the signal @param pid [String] process id @param signal [String] signal to send @return [Boolean] exection result
Check if process with PID is running @param pid [String] process id @return [Boolean] execution result
Execute command with sudo @param [String] command string @param [Hash] execution options @return [SessionCommand]