\App\GatewayModule\ModelsSshManager

SSH daemon manager

Summary

Methods
Properties
Constants
__construct()
disableService()
enableService()
getServiceStatus()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$serviceManager
N/A

Properties

$serviceManager

$serviceManager : \App\ServiceModule\Models\SystemDManager

Type

normal — SystemD service manager

Methods

__construct()

__construct(\App\ServiceModule\Models\SystemDManager  $serviceManager) : mixed

Constructor

Parameters

\App\ServiceModule\Models\SystemDManager $serviceManager

SystemD service manager

Returns

mixed

disableService()

disableService() : void

Disables and stops the SSH daemon service

enableService()

enableService() : void

Enables and starts the SSH daemon service

getServiceStatus()

getServiceStatus() : \App\ServiceModule\Enums\ServiceStates

Returns the SSH daemon service status

Returns

\App\ServiceModule\Enums\ServiceStates