mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox
This commit is contained in:
commit
f98d1811c9
@ -215,6 +215,7 @@ def get_ssh_port():
|
|||||||
|
|
||||||
def get_ssh_config_value(parameter_name):
|
def get_ssh_config_value(parameter_name):
|
||||||
# Returns ssh configuration value for the provided parameter
|
# Returns ssh configuration value for the provided parameter
|
||||||
|
import subprocess
|
||||||
try:
|
try:
|
||||||
output = shell('check_output', ['sshd', '-T'])
|
output = shell('check_output', ['sshd', '-T'])
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
|
Loading…
Reference in New Issue
Block a user