Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 420  / 2 Years ago, thu, june 2, 2022, 4:18:07

I have an assignment to work with Dropbear for SSH connection. First I need to download, configure and install Dropbear.


I downloaded it from https://matt.ucc.asn.au/dropbear/


I did:


./config
make clean
make

When I write make install, I get the message:


install -d /sbin
install dropbear /sbin
install: cannot remove '/sbin/dropbear': Permission denied
Makefile:182: recipe for target 'inst_dropbear' failed
make: *** [inst_dropbear] Error 1

I tried to type sudo make install, as suggested in earlier posts, but it doesn't change. What can I do?


More From » networking

 Answers
7

Please do not invent the wheel.


The Dropbear is packaged for ages on Debian and Ubuntu.


To install it open terminal and type:


sudo apt-add-repository universe
sudo apt-get install dropbear

To modify the source - enable Source Code in Software & Updates (software-properties-gtk), install build dependencies, get the source, modify it, compile and install compiled version by


sudo apt-get build-dep dropbear
sudo apt-get install dpkg-dev fakeroot

cd ~/Downloads
apt-get source dropbear
cd dropbear-*
# modify source

dpkg-buildpackage -uc -us
# install modified version
sudo apt-get install ../dropbear{_,-bin,-run}*.deb

[#1616] Saturday, June 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ipentainer

Total Points: 112
Total Questions: 113
Total Answers: 113

Location: Guernsey
Member since Tue, Jul 6, 2021
3 Years ago
;