ts-shell: connect - establish a terminal session
Runs within ts-shell on the terminal server
to connect to a target system and accesses a terminal device on the
target system.
Format
- <vm_guest>
- specifies the target system.
- <terminal_id>
- specifies the terminal ID of the terminal to be accessed.
The terminal ID for an iucvtty instance is set in the start command for the instance.
For HVC terminal devices, the terminal IDs are lnxhvc<n>, where <n> is an integer in the range 0 - 7. If you do not need a specific HVC terminal device or if you are not sure which device is free, you can omit the trailing integer.
As of kernel 3.14, you can specify the generic terminal ID
lnxhvcto automatically assign the next free terminal device.If omitted, a default terminal ID is used. Initially, the default is lnxhvc0. You can change the default with the
ts-shellterminal command. The modified default applies for the duration of thets-shellsession.
Examples
lxterm1 on
LXGUEST1: alice@ts-shell> connect lxguest1 lxterm1
lnxhvc0 on
LXGUEST1: alice@ts-shell> connect lxguest1 lnxhvc0Unless the default terminal has been changed, this command is equivalent to:
alice@ts-shell> connect lxguest1
alice@ts-shell> connect lxguest1 lnxhvc