SSH Key integration is the most secure way to store SSH keys in Deepnote. We add your private key as environment variable so you can use it to connect to remote machines or create tunnels to service within cloud services not accessible on public internet.
To create the integration, head over to integrations tab in left sidebar, scroll to SSH key integration and click add to open the modal similar to the one bellow.
Copy the private key (commonly stored as
.pem file) to the text box and give descriptive name to the integration (eg. AWS Redshift Tunnel key). After the integration is created, mount it to the project. Using key stored in environment integration is not trivial but you can use
ssh-agent as outlined in the How to use modal.