Addding config-sshd

This commit is contained in:
Scott C. MacCallum 2024-06-09 12:38:57 +00:00
parent e5757ff8b8
commit 3bdac97d81

View File

@ -1,7 +1,7 @@
#!/bin/ksh
# config-sshd
# This program configures sshd to start upon boot.
# This program configures the SSH deamon so that it starts at boot.
# Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org).
# All rights reserved.
@ -9,10 +9,10 @@
# without modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright notice,
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Neither the name of Scott C. MacCallum nor the names of its
# * Neither the name of Scott C. MacCallum nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission of Scott C.
# MacCallum.
@ -29,6 +29,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
echo "sshd_flags=""" > /etc/rc.conf.local
rcctl enable sshd
exit 0