balena-cli/doc
Gergely Imreh b4439b7d78
ssh: add --noninteractive flag not to suggest devices to connect to
The suggestion happens if the UUID supplied is not found. Because
of that function, it's impossible to do an atomic connect to a device
in non-interactive mode. The auto-suggestion results connecting to
the first available device, which is likely not the intended action.
The current workaround is running a `balena device UUID` and check
its exit code before running `balena ssh UUID`, but since these
are independent steps, still can connect to another device, if between
the two commands anything changes. With this flag used, one could never
connect accidentally to the wrong device due to suggestions.

Change-type: minor
Signed-off-by: Gergely Imreh <gergely@balena.io>
2019-03-12 11:50:17 +00:00
..
automated-init.md Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
cli.markdown ssh: add --noninteractive flag not to suggest devices to connect to 2019-03-12 11:50:17 +00:00