3 dropbear \- lightweight SSH server
13 is a SSH server designed to be small enough to be used in small memory
14 environments, while still being functional and secure enough for general use.
19 Display the contents of the file
21 before user login (default: none).
25 Use the contents of the file
27 for the DSS host key (default: /etc/dropbear/dropbear_dss_host_key).
29 some SSH implementations
30 use the term "DSA" rather than "DSS", they mean the same thing.
31 This file is generated with
36 Use the contents of the file
38 for the rsa host key (default: /etc/dropbear/dropbear_rsa_host_key).
39 This file is generated with
43 Don't fork into background.
46 Log to standard error rather than syslog.
49 Don't display the message of the day on login.
55 Disable password logins.
58 Disable password logins for root.
61 Disable local port forwarding.
64 Disable remote port forwarding.
66 .B \-p \fI[address:]port
71 If just a port is given listen
73 up to 10 can be specified (default 22 if none specified).
77 Use this option to run
79 under TCP/IP servers like inetd, tcpsvd, or tcpserver.
80 In program mode the \-F option is implied, and \-p options are ignored.
83 Specify a pidfile to create when running as a daemon. If not specified, the
84 default is /var/run/dropbear.pid
87 Allow remote hosts to connect to forwarded ports.
90 Specify the per-channel receive window buffer size. Increasing this
91 may improve network performance at the expense of memory use. Use -h to see the
94 .B \-K \fItimeout_seconds
95 Ensure that traffic is transmitted at a certain interval in seconds. This is
96 useful for working around firewalls or routers that drop connections after
97 a certain period of inactivity. The trade-off is that a session may be
98 closed if there is a temporary lapse of network connectivity. A setting
99 if 0 disables keepalives.
101 .B \-I \fIidle_timeout
102 Disconnect the session if no traffic is transmitted or received for \fIidle_timeout\fR seconds.
108 ~/.ssh/authorized_keys can be set up to allow remote login with a RSA or DSS
109 key. Each line is of the form
111 [restrictions] ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIgAsp... [comment]
113 and can be extracted from a Dropbear private host key with "dropbearkey -y". This is the same format as used by OpenSSH, though the restrictions are a subset (keys with unknown restrictions are ignored).
114 Restrictions are comma separated, with double quotes around spaces in arguments.
115 Available restrictions are:
118 .B no-port-forwarding
119 Don't allow port forwarding for this connection
122 .B no-agent-forwarding
123 Don't allow agent forwarding for this connection
127 Don't allow X11 forwarding for this connection
131 Disable PTY allocation. Note that a user can still obtain most of the
132 same functionality with other means even if no-pty is set.
135 .B command="\fIforced_command\fR"
136 Disregard the command provided by the user and always run \fIforced_command\fR.
138 The authorized_keys file and its containing ~/.ssh directory must only be
139 writable by the user, otherwise Dropbear will not allow a login using public
145 Host key files are read at startup from a standard location, by default
146 /etc/dropbear/dropbear_dss_host_key and /etc/dropbear/dropbear_rsa_host_key
147 or specified on the commandline with -d or -r. These are of the form generated
153 By default the file /etc/motd will be printed for any login shell (unless
154 disabled at compile-time). This can also be disabled per-user
155 by creating a file ~/.hushlogin .
157 .SH ENVIRONMENT VARIABLES
158 Dropbear sets the standard variables USER, LOGNAME, HOME, SHELL, PATH, and TERM.
160 The variables below are set for sessions as appropriate.
164 This is set to the allocated TTY if a PTY was used.
168 Contains "<remote_ip> <remote_port> <local_ip> <local_port>".
172 Set X11 forwarding is used.
175 .B SSH_ORIGINAL_COMMAND
176 If a 'command=' authorized_keys option was used, the original command is specified
177 in this variable. If a shell was requested this is set to an empty value.
181 Set to a forwarded ssh-agent connection.
184 Dropbear only supports SSH protocol version 2.
187 Matt Johnston (matt@ucc.asn.au).
189 Gerrit Pape (pape@smarden.org) wrote this manual page.
191 dropbearkey(1), dbclient(1), dropbearconvert(1)
193 https://matt.ucc.asn.au/dropbear/dropbear.html