### Question:
ZoneMinderUtils { public static String shutdownZmHost(String host, String username, String password) throws IOException { Shell shell = new SSHByPassword(host, 22, username, password); return new Shell.Plain(shell).exec("sudo shutdown -h now"); }  static boolean pingHost(String host); static String shutdownZmHost(String host, String username, String password);  }### Answer:
@Test @Ignore public void testShutdownViaSsh() throws IOException { ZoneMinderUtils.shutdownZmHost("ubuntu-zm", "username", "password"); }