Method: Aix::Exec#ssh_service_restart
- Defined in:
- lib/beaker/host/aix/exec.rb
#ssh_service_restart ⇒ Result
Restarts the SSH service
15 16 17 18 |
# File 'lib/beaker/host/aix/exec.rb', line 15 def ssh_service_restart exec(Beaker::Command.new("stopsrc -g ssh")) exec(Beaker::Command.new("startsrc -g ssh")) end |