comparison README @ 75:a54d20c96178

Some documentation touchups
author Matt Johnston <matt@ucc.asn.au>
date Sat, 14 Aug 2004 17:59:42 +0000
parents 9597c2e3b9d4
children c2ac796b130e
comparison
equal deleted inserted replaced
74:e3adf4cf5465 75:a54d20c96178
11 me if you have any questions/bugs found/features/ideas/comments etc :) 11 me if you have any questions/bugs found/features/ideas/comments etc :)
12 12
13 Matt Johnston 13 Matt Johnston
14 [email protected] 14 [email protected]
15 15
16
17 In the absence of detailed documentation, some notes follow:
16 ============================================================================ 18 ============================================================================
17 19
18 Public key auth: 20 Public key auth:
19 21
20 You can use ~/.ssh/authorized_keys in the same way as with OpenSSH, just put 22 You can use ~/.ssh/authorized_keys in the same way as with OpenSSH, just put
26 user. 28 user.
27 29
28 NOTE: Dropbear ignores authorized_keys options such as those described in the 30 NOTE: Dropbear ignores authorized_keys options such as those described in the
29 OpenSSH sshd manpage, and will not allow a login for these keys. 31 OpenSSH sshd manpage, and will not allow a login for these keys.
30 32
33 ============================================================================
34
35 If you want to get the public-key portion of a Dropbear private key, look at
36 dropbearkey's '-y' option.
37
38 ============================================================================
39
31 To run the server, you need to generate server keys, this is one-off: 40 To run the server, you need to generate server keys, this is one-off:
32 ./dropbearkey -t rsa -f dropbear_rsa_host_key 41 ./dropbearkey -t rsa -f dropbear_rsa_host_key
33 ./dropbearkey -t dss -f dropbear_dss_host_key 42 ./dropbearkey -t dss -f dropbear_dss_host_key
34 43
35 or alternatively convert OpenSSH keys to Dropbear: 44 or alternatively convert OpenSSH keys to Dropbear:
36 ./dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key 45 ./dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key
37 46
38 And you can now run the server. 47 ============================================================================
39 ./dropbear
40
41 or './dropbear -h' to get options.
42 48
43 If the server is run as non-root, you most likely won't be able to allocate a 49 If the server is run as non-root, you most likely won't be able to allocate a
44 pty, and you cannot login as any user other than that running the daemon 50 pty, and you cannot login as any user other than that running the daemon
45 (obviously). Shadow passwords will also be unusable as non-root. 51 (obviously). Shadow passwords will also be unusable as non-root.
46 52
53 ============================================================================
54
47 The Dropbear distribution includes a standalone version of OpenSSH's scp 55 The Dropbear distribution includes a standalone version of OpenSSH's scp
48 program. You can compile it with "make scp", you may want to change the path 56 program. You can compile it with "make scp", you may want to change the path
49 of the ssh binary, specified near the top of the scp.c file. By default 57 of the ssh binary, specified near the top of the scp.c file. By default
50 the progress meter isn't compiled in to save space, you can enable it with 58 the progress meter isn't compiled in to save space, you can enable it by
51 "make scp-progress". 59 adding 'SCPPROGRESS=1' to the make commandline.
52