#!/bin/bash
mkdir -p /root/.ssh/
rsync -arvzh /boot/config/plugins/ssh/root/.ssh/* /root/.ssh/
chmod 700 /root/.ssh && chmod 600 /root/.ssh/* && chmod 644 -f /root/.ssh/*.pub /root/.ssh/authorized_keys /root/.ssh/known_hosts