Aktualizovat run.sh
This commit is contained in:
parent
fe7b6f327d
commit
9e56fe6197
1 changed files with 4 additions and 1 deletions
5
run.sh
5
run.sh
|
@ -1 +1,4 @@
|
|||
cat ./ssh >> /root/.ssh/authorized_keys
|
||||
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/
|
Loading…
Reference in a new issue