Files
raspi-k3s/post-install.txt
2020-01-08 14:34:17 +13:00

8 lines
212 B
Plaintext
Executable File

echo "Changing ssh port..."
eval chroot /rootfs /usr/bin/sed -i -e 's/#Port 22/Port 2122/g' /etc/ssh/sshd_config 2>&1 | output_filter
if [ "${PIPESTATUS[0]}" -eq 0 ]; then
echo "OK"
else
echo "FAILED !"
fi