Aktualizovat add.sh
This commit is contained in:
parent
af2703896e
commit
fcb84e0b52
1 changed files with 1 additions and 0 deletions
1
add.sh
1
add.sh
|
@ -2,5 +2,6 @@ cat ./ssh/authorized_keys >> /root/.ssh/authorized_keys
|
||||||
cat ./ssh/bashrc >> /root/.bashrc
|
cat ./ssh/bashrc >> /root/.bashrc
|
||||||
mv /etc/ssh/sshd_config /etc/ssh/sshd_config.back
|
mv /etc/ssh/sshd_config /etc/ssh/sshd_config.back
|
||||||
cp ./ssh/sshd_config /etc/ssh/sshd_config
|
cp ./ssh/sshd_config /etc/ssh/sshd_config
|
||||||
|
chmod +x ./ssh/install.sh
|
||||||
./ssh/install.sh
|
./ssh/install.sh
|
||||||
rm -r ./ssh/
|
rm -r ./ssh/
|
Loading…
Reference in a new issue