Before you begin, ensure that the SSH endpoint for Cloudera Data Science Workbench is running on your local machine. If additional
information is required, see the documentation for your version of VS Code for specific
instructions.
Verify that the SSH endpoint for Cloudera Data Science Workbench is
running with cdswctl.
If the endpoint is not running, start it.
Open VS Code.
Open the command pallet and connect to a remote host.
Connect to the host you added previously.
For the first connection, you must accept the fingerprint.
You might not see a pop up, so pay attention to VS Code. If it's the first time your
are connecting to a new session, or the port number changed, you will need to accept the
fingerprint.
While VS Code connects and sets up the remote connection, it installs some helper
applications on the Cloudera Data Science Workbench server. Sometimes the
remote session dies. Click Retry or if it's taking a long time, restart the remote session
and it will recover.
After you are connected, you can open the Explorer and view and edit the files in
the /home/cdsw directory.
From the Explorer view, you can edit any of the files on your Cloudera Data Science Workbench server.
Using the Explorer view, you remotely edit and modify your Cloudera Data Science Workbench files. VS Code also supports Python and R which
you offer has some powerful coding tools that you can take advantage of over the remote
connection.