1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-23 18:57:23 +01:00

add get_ssh_port function & better error message for ssh service failure

This commit is contained in:
Ian Beringer
2015-02-01 21:32:14 +01:00
parent 61c1dc4984
commit f46eb195d3
2 changed files with 21 additions and 8 deletions

View File

@@ -109,7 +109,6 @@ PUBLIC_IPV6=$PUBLIC_IPV6
PRIVATE_IP=$PRIVATE_IP
PRIVATE_IPV6=$PRIVATE_IPV6
CSR_COUNTRY=$CSR_COUNTRY
SSH_PORT=$(sshd -T 2>/dev/null | grep "^port " | sed "s/port //")
EOF
# Start service configuration.