LinuxCommandLibrary

dbclient

lightweight SSH client from the Dropbear suite

TLDR

Connect to a remote host

$ dbclient [user]@[host]
copy
Connect on specific port
$ dbclient [user]@[host] -p 2222
copy
Connect using identity key
$ dbclient -i [path/to/key_file] [user]@[host]
copy
Run a command with TTY allocation
$ dbclient [user]@[host] -t [command] [arguments]
copy
Forward agent connections
$ dbclient -A [user]@[host]
copy

SYNOPSIS

dbclient [options] [user@]host [command]

DESCRIPTION

dbclient is the SSH client from the Dropbear suite, a lightweight SSH implementation designed for embedded systems and environments with limited resources. It provides standard SSH functionality including remote shell access, command execution, port forwarding, and agent forwarding, all with a significantly smaller binary size and memory footprint than OpenSSH.
Dropbear is commonly found on routers, IoT devices, embedded Linux systems, and other resource-constrained environments. The entire suite (server and client) is typically under 110KB compressed, compared to several megabytes for OpenSSH.
dbclient supports the core SSH protocol features: public key authentication, password authentication, local and remote port forwarding, and TTY allocation for interactive sessions. However, it omits some advanced OpenSSH features to maintain its small size.
One notable difference is key format: dbclient uses Dropbear's own key format rather than OpenSSH's format. The dropbearconvert utility can convert between the two formats when needed.

PARAMETERS

-p port

Connect to specified port
-i keyfile
Identity key file (Dropbear format)
-t
Allocate a TTY
-A
Forward authentication agent
-L port:host:port
Local port forwarding
-R port:host:port
Remote port forwarding
-N
Don't request a shell

CAVEATS

Uses Dropbear key format, not OpenSSH format. Use dropbearconvert to convert keys. Part of the Dropbear SSH suite, commonly used in embedded Linux systems.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community