#!/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