Enables or disables the service.

Table 1. ssh-service

Command

Description

Usage

Examples

ssh-service

Enable or disable SSH service

ssh-service [-h]

{status,enable,disable}

ssh-service status

ssh-service enable

ssh-service disable

Table 2. Syntax

Flag

Description

enable | disable | status

Enables or disables the service or provides the status of the service.