10 lines
149 B
Plaintext
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
|