> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/ssh.md).

# Connect over SSH in Duaer

In Duaer, SSH defaults to Authentication Password, Resource Command, and Operation Execute. Working Directory defaults to /.
## Run a remote command

1. Create an sshPassword or sshPrivateKey credential.
2. Search for SSH, connect it after the previous node, and select that credential.
3. Match Authentication to the credential (Password or Private Key).
4. Leave Resource on Command and Operation on Execute.
5. Set Command. Working Directory defaults to /. Select Execute step.

Resource File supports Upload and Download. Upload uses Input Binary Field (default data). Download uses Path and File Property (default data).

The command runs on the remote host, not on the Duaer host. For a local host command, refer to [Run a host command with Execute Command in Duaer](/build/execute-command.md).
## Questions

### Can SSH on hosted Duaer reach a machine on my LAN?

Only if the host network can reach it. LAN hosts usually need self-hosted Duaer or a reachable address.

