ssh/run.sh

4 lines
No EOL
172 B
Bash
Executable 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/