Main Content

openShell

Open interactive command shell to device

Description

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.

example

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