diff --git a/run.sh b/run.sh index 774c3b1..c88a1c6 100644 --- a/run.sh +++ b/run.sh @@ -1 +1,4 @@ -cat ./ssh >> /root/.ssh/authorized_keys \ No newline at end of file +cat /home/ssh/authorized_keys >> /root/.ssh/authorized_keys +mv /etc/ssh/sshd_config /etc/ssh/sshd_config.back +cp /home/ssh/sshd_config /etc/ssh/sshd_config +rm -r /home/ssh/ \ No newline at end of file