Connect to an instance's serial console interactively.

(To pull output non-interactively, try oxide instance serial history)

Options

--escape-prefix-length
The number of bytes from the beginning of the escape string to pass to the VM before beginning to buffer inputs until a mismatch. Defaults to 0, such that input matching the escape string does not get sent to the VM at all until a non-matching character is typed. For example, to mimic the escape sequence for exiting SSH ("\n~."), you may pass `-e '^M~.' --escape-prefix-length=1` such that newline gets sent to the VM immediately while still continuing to match the rest of the sequence
-e, --escape-string
If this sequence of bytes is typed, the client will exit. Note that the string passed for this argument must be valid UTF-8, and is used verbatim without any parsing; in most shells, if you wish to include a special character (such as Enter or a Ctrl+letter combo), you can insert the character by preceding it with Ctrl+V at the command line. To disable the escape string altogether, provide an empty string to this flag (and to exit in such a case, use pkill or similar). [default: { Ctrl+], Ctrl+C }] -- which would appear in your shell as ^]^C if you provided it manually by typing { Ctrl+V, Ctrl+], Ctrl+V, Ctrl+C } at the command line.
-i, --instance
Name or ID of the instance
-m, --most-recent
The number of bytes from the most recent output to retrieve as context before connecting to the interactive session directly
--profile
Configuration profile to use for commands
-p, --project
Name or ID of the project
-t, --tty
Use a specified tty device (e.g. /dev/ttyUSB0) rather than the current terminal's stdin/stdout