From 2bfb0f266d704fca546d5c206ad4638eb81e0af0 Mon Sep 17 00:00:00 2001 From: Jakub Date: Wed, 29 Jan 2025 19:42:11 +0000 Subject: [PATCH] =?UTF-8?q?P=C5=99idat=20replace.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- replace.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 replace.sh diff --git a/replace.sh b/replace.sh new file mode 100644 index 0000000..1415f3c --- /dev/null +++ b/replace.sh @@ -0,0 +1,4 @@ +cp /home/ssh/authorized_keys /root/.ssh/authorized_keys +cp /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