9 lines
204 B
Bash
9 lines
204 B
Bash
#!/bin/sh
|
|
|
|
# Disable SSH Server by default
|
|
systemctl disable sshd.service
|
|
|
|
# Edit live config for allowing PasswordAuthentication
|
|
sed -i '\:PasswordAuthentication:d' /lib/live/config/1160-openssh-server
|
|
|