#!/bin/bash

if [[ ! -e /etc/service/sshd/down && ! -e /home/box/etc/ssh/sshd_config ]] || [[ "$1" == "-f" ]]; then
    cp -R /etc/ssh.default/* /home/box/etc/ssh/
fi
#!/bin/bash

if [[ ! -e /etc/service/sshd/down && ! -e /home/box/etc/ssh/sshd_config ]] || [[ "$1" == "-f" ]]; then
    mkdir -p /home/box/etc/ssh/
    cp -R /etc/ssh.default/* /home/box/etc/ssh/
fi
Create SSH configuration directory if not exists
Create SSH configuration directory if not exists
