-
Notifications
You must be signed in to change notification settings - Fork 1
/
instructions.txt
32 lines (29 loc) · 1.05 KB
/
instructions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
On Ubuntu:
1. Clone this repository:
git clone [email protected]:ramesh.anirudh95/dropbear.git
2. Configure build environment for Arago Linux:
./configure --host=arm-arago-linux-gnueabi --disable-option-checking --disable-FEATURE --disable-largefile --disable-zlib --disable-syslog --disable-shadow --disable-lastlog --disable-utmp --disable-utmpx --disable-wtmp --disable-wtmpx --disable-loginfunc --disable-pututline --disable-pututxline
3. Generate binaries
make all scp
4. Copy the following files to the DM-365:
dropbear
dropbearkey
scp
dbclient
On Arago:
1. Copy the following files to "/usr/bin/":
dropbear
dropbearkey
scp
dbclient
2. Generate SSH keys:
dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
3. Spawn dropbear:
dropbear &
On Ubuntu:
1. Transfer a file:
scp filename.extension [email protected]:/home/root/
Tip:-
Find out Ubuntu's IP address (Use the appropriate interface identifier):
ipa=`ifconfig wlan0 | grep "inet addr:" | awk '{print substr($2, 6, length($2))}'`