Aktualizovat run.sh
This commit is contained in:
parent
2e1b6ff195
commit
9cd9e0ddff
1 changed files with 4 additions and 4 deletions
8
run.sh
8
run.sh
|
@ -1,5 +1,5 @@
|
|||
cat /home/ssh/authorized_keys >> /root/.ssh/authorized_keys
|
||||
cat /home/ssh/bashrc >> /root/.bashrc
|
||||
cat ./ssh/authorized_keys >> /root/.ssh/authorized_keys
|
||||
cat ./ssh/bashrc >> /root/.bashrc
|
||||
mv /etc/ssh/sshd_config /etc/ssh/sshd_config.back
|
||||
cp /home/ssh/sshd_config /etc/ssh/sshd_config
|
||||
rm -r /home/ssh/
|
||||
cp ./ssh/sshd_config /etc/ssh/sshd_config
|
||||
rm -r ./ssh/
|
Loading…
Reference in a new issue