Revision f3f98e97
Added by Phillip Davis almost 6 years ago
src/etc/sshd | ||
---|---|---|
172 | 172 |
file_notice("SSH", "{$g['product_name']} has completed creating your SSH keys. SSH is now started.", "SSH Startup", ""); |
173 | 173 |
} |
174 | 174 |
|
175 |
/* kill existing sshd process, server only, not the childs */
|
|
175 |
/* kill existing sshd process, server only, not the children */
|
|
176 | 176 |
$sshd_pid = exec("ps ax | egrep '/usr/sbin/[s]shd' | awk '{print $1}'"); |
177 | 177 |
if ($sshd_pid <> "") { |
178 | 178 |
echo "stopping ssh process $sshd_pid \n"; |
Also available in: Unified diff
Fix random typos