install 461 B

1234567891011121314151617181920212223242526
  1. rm -rf ./$0
  2. source /etc/os-release
  3. inst='libtomcrypt1 libtommath1 zlib1g'
  4. case $VERSION_ID in
  5. 20.04*|20.10*|21.04*|21.10*|22.04*) inst+=' libcrypt1';;
  6. esac
  7. apt update -y; apt install -y $inst
  8. mkdir tmp
  9. cd tmp
  10. wget --no-cache https://github.com/rudi9999/dropbear-MOD/raw/main/dropbear-bin_2020.81-5_amd64-v2.deb
  11. wget --no-cache https://github.com/rudi9999/dropbear-MOD/raw/main/dropbear_2020.81-5_all-v2.deb
  12. dpkg -i *.deb
  13. cd ../
  14. rm -rf tmp
  15. exit 0