Addding config-sshd
This commit is contained in:
parent
e5757ff8b8
commit
3bdac97d81
@ -1,7 +1,7 @@
|
|||||||
#!/bin/ksh
|
#!/bin/ksh
|
||||||
|
|
||||||
# config-sshd
|
# 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).
|
# Copyright (c) 2024, Scott C. MacCallum (scm@sdf.org).
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|
||||||
@ -29,6 +29,6 @@
|
|||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
echo "sshd_flags=""" > /etc/rc.conf.local
|
rcctl enable sshd
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user