# Working with target devices

## Connecting to a device

Fuchsia target devices must be connected to a host device via a network link.
SSH is the protocol for communications over that link, as described in
[this document](https://fuchsia.dev/fuchsia-src/development/idk/documentation/ssh).

### Getting the device address

Getting the Fuchsia device address can be done using [ffx](https://fuchsia.dev/reference/tools/sdk/ffx.md).

## Installing software onto a device

The unit of installation on Fuchsia is a package.
For information on how to push packages to a Fuchsia device, see the
[this document](https://fuchsia.dev/fuchsia-src/development/idk/documentation/packages).

## Getting logs from a device

In order to retrieve logs from a device, open a shell on the device and run the
`log_listener` command, which provides various filtering knobs. See
[this page](https://fuchsia.dev/fuchsia-src/development/idk/documentation/logging) for more details.
[](https://issues.fuchsia.dev/issues/new?component=1439230&template=1881640&description=Issue+on:+https://fuchsia.dev/docs/development/idk/documentation/devices.md "Report a bug or suggest improvements on this page") [](https://cs.opensource.google/fuchsia/fuchsia/+/main:docs/development/idk/documentation/devices.md "View the source code of this page") [](https://ci.android.com/edit?repo=fuchsia/fuchsia/main&file=docs/development/idk/documentation/devices.md&cloneRepo=fuchsia/fuchsia:refs/heads/main&fullPath=fuchsia/docs/development/idk/documentation/devices.md "Edit the source code of this page")