Přidat replace.sh
This commit is contained in:
parent
9e56fe6197
commit
2bfb0f266d
1 changed files with 4 additions and 0 deletions
4
replace.sh
Normal file
4
replace.sh
Normal file
|
@ -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/
|
Loading…
Reference in a new issue