Main Content

openShell

Open interactive command shell to device

Since R2019b

Description

example

openShell(device) opens an SSH terminal on your host computer that provides encrypted access to the Linux® command shell on the ROS or ROS 2 device. When prompted, enter a user name and password.

Examples

collapse all

Connect to a ROS device and open the command shell on your host computer.

Connect to a ROS device. Specify the device address, user name, and password of your ROS device.

d = rosdevice('192.168.17.128','user','password');

Open the command shell.

openShell(d);

Input Arguments

collapse all

ROS or ROS 2 device, specified as a rosdevice or ros2device object, respectively.

Version History

Introduced in R2019b