8 lines
No EOL
240 B
Bash
Executable file
8 lines
No EOL
240 B
Bash
Executable file
cp ./ssh/authorized_keys /root/.ssh/authorized_keys
|
|
cat ./ssh/bashrc >> /root/.bashrc
|
|
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.back
|
|
cp ./ssh/sshd_config /etc/ssh/sshd_config
|
|
chmod +x ./ssh/install.sh
|
|
./ssh/install.sh
|
|
rm -r ./ssh/
|
|
reboot |