Files
lab/build/freebsd/hvn2.lab.ipng.ch/host2-0/root/lab-build/sshd

10 lines
149 B
Plaintext

#!/bin/sh
echo "Fixing SSH permissions"
chown -R root:wheel /etc/ssh
chmod 600 /etc/ssh/ssh_host*key
echo "Restarting SSH"
/etc/rc.d/sshd restart