cdswctl and Add an SSH Key
Provides steps to download
cdswctl and add an SSH key.
- Open the Cloudera Data Science Workbench web UI and go to Settings > Remote Editing for your user account.
cdswctlclient for your operating system.If you are using the macOS executable,
cdswctlwill be unsigned and therefore cannot be launched on the recent version of macOS without performing the following additional steps:
In the Finder on your Mac locate the app you want to open.
Don’t use Launchpad to do this. Launchpad doesn’t allow you to access the shortcut menu.
- Control-click the app icon, then choose Open from the shortcut menu.
The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.
- In the Finder on your Mac locate the app you want to open.
In the terminal, run
cat ~/.ssh/id_rsa.pub. If you used a different filename above when generating the key, use that filename instead. This command prints the key as a string.
Copy the key. It should resemble the following:
In SSH public keys for session access, paste the key.
Cloudera Data Science Workbench uses the SSH public key to authenticate your CLI client session, including the SSH endpoint connection to the Cloudera Data Science Workbench deployment. Any SSH endpoints that are running when you add an SSH public key must also be restarted.