dropbear.sh 845 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. clear
  3. if [[ "$EUID" -ne 0 ]]; then
  4. echo -e "\033[1;31mScript need to be run as root!\033[0m"; exit 1
  5. fi
  6. apt-get -qq update
  7. DEBIAN_FRONTEND=noninteractive apt-get -y -qq install dropbear
  8. echo 'NO_START=0
  9. DROPBEAR_PORT=339
  10. DROPBEAR_EXTRA_ARGS="-p 440 -p 441 -p 442"
  11. DROPBEAR_BANNER="/etc/issue.net"
  12. DROPBEAR_RSAKEY="/etc/dropbear/dropbear_rsa_host_key"
  13. DROPBEAR_DSSKEY="/etc/dropbear/dropbear_dss_host_key"
  14. DROPBEAR_ECDSAKEY="/etc/dropbear/dropbear_ecdsa_host_key"
  15. DROPBEAR_RECEIVE_WINDOW=65536' > /etc/default/dropbear
  16. systemctl restart dropbear
  17. echo
  18. echo -e "\033[1;32mTahniah, Kami telah selesai dengan pemasangan dropbear.\033[0m"
  19. echo
  20. echo 'Use my referral link https://m.do.co/c/a28a40414d6a'
  21. echo 'to gets $100 credit into your DigitalOcean account.'
  22. echo
  23. echo 'Hak Cipta 2021 Doctype, Dikuasakan oleh Cybertize.'
  24. sleep 5