remote.it cross-platform command line
npm install @remote.it/cli_Coming soon..._
``shellShow CLI help
sudo remoteit -h/--help
sudo remoteit help
sudo remoteit -s/--silent # don't output anything to stdout
`
_NOTE: On Windows, use remoteit.exe instead for running commands_
You will first need to authenticate with remote.it before using the below commands.
`shell`
sudo remoteit signin # interactive signin prompt
sudo remoteit signin
sudo remoteit signin
`shell
sudo remoteit start # looks in ~/.remoteit/config.json on Mac/Linux or C:\remoteit\config.json on Windows
sudo remoteit start ./path/to/config.json # use a custom config file location
sudo remoteit stop # stop all target/services/initiators
sudo remoteit connect
`
`shell`TODO: COMING SOON!
sudo remoteit config set SCHANNEL_PORT=6000
`shellSetup the current machine as a target device
sudo remoteit target create
sudo remoteit target create "Optional Device Name"remoteit target create --no-multiport
sudo remoteit target remove
`
`shell
sudo remoteit service create http 33000
sudo remoteit service list
#### Service Types
Below is a list of support service types you can configure your services to be. These types are used in the default application launching behavior in the web portal, desktop and mobile applications.
| Full Name | Key | ID | Default Port |
| ----------------------------- | --------------- | ---- | ------------ |
| TCP |
tcp | 1 | 445 |
| VNC | vnc | 4 | 5900 |
| Remote Desktop Protocol (RDP) | rdp | 5 | 3389 |
| HTTP (reverse proxy) | reverse-http | 7 | 80 |
| HTTPS (reverse proxy) | reverse-https | 8 | 443 |
| SSH | ssh | 28 | 22 |
| HTTP | http | 30 | 80 |
| HTTPS | https | 33 | 443 |
| Samba | samba | 34 | 445 |
| NX Witness | nx-witness | 37 | 7001 |
| NextCloud | next-cloud | 38 | 443 |
| Open VPN | open-vpn | 39 | 1194 |
| remote.it Multiport | multiport | 40 | 65535 |$3
`shell
Convenience shortcut for "remoteit initator connect":
sudo remoteit connect
sudo remoteit initiator connect # connect to the initiator using an automatically chosen port and the hostname 127.0.0.1
sudo remoteit initiator connect -p/--port 5000 # configure a port to bind to
sudo remoteit initiator connect -h/--hostname 127.0.0.2 # configure a hostname to bind to
sudo remoteit initiator connect --ondemand # make the conenction on-demand, which means it shuts down when not in use to save bandwidthsudo remoteit initiator list
TODO: COMING SOON!
sudo remoteit initiator info TODO: COMING SOON!
sudo remoteit initiator logs
sudo remoteit initiator logs
sudo remoteit initiator logs -t/--tailTODO: COMING SOON!
sudo remoteit initiator start all
sudo remoteit initiator start TODO: COMING SOON!
sudo remoteit initiator restart all
sudo remoteit initiator restart TODO: COMING SOON!
sudo remoteit initiator stop all
sudo remoteit initiator stop TODO: COMING SOON!
sudo remoteit initiator remove all
sudo remoteit initiator remove
`Development
Building
On an ARM system:
`shell
sudo apt install --yes python gcc-multilib g++-multilib make libc6-dev-amd64
nexe bin/remoteit --verbose --build -t linux
``