summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-31 01:15:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-31 01:15:32 +0000
commit36aaefff61f6107126912d4038a7d2cf1cb49c09 (patch)
treeff2853eaff6bbd65dd712c10aad62199c5353432 /etc/sshd
parent3d941d72333ae7a4451f3e39e150029aa6f4794d (diff)
downloadpfsense-36aaefff61f6107126912d4038a7d2cf1cb49c09.zip
pfsense-36aaefff61f6107126912d4038a7d2cf1cb49c09.tar.gz
Allow SSH service to be disabled / enabled.
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/sshd b/etc/sshd
index bb67d95..4a5c71c 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -32,6 +32,9 @@
$stderr = fopen("php://stderr", "w");
+ if(!isset($config['sshenabled']))
+ exit;
+
function file_size($file) {
$size = filesize($file);
return $size;
OpenPOWER on IntegriCloud