MATLAB: How to connect to a ROS device without using passwords and using SSH keys

Robotics System Toolbox

It appears the only way for the ROS interface to connect to a ROS device via ssh is using a password.
We use ssh keys to do this normally so passwords are not required. How can we modify the ROS tools to NOT use passwords?

Best Answer

Right now (as of 18b) the SSH connection to the ROS target can only be established by providing a user name and password.
Unfortunately, there is no workaround. If you cannot provide the user name and password, you can still generate the code for the ROS node and then manually deploy the code to the ROS target and build it there.
That workflow is described here:
Related Question