How to add ssh private key to replit?


I want to clone a git submodule recursively but I need my ssh private key in replit, but I don’t want to expose it inside the replit. I notice the Secrets section.

How should I do this?

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

Hi @Chronological !
Secrets are for storing sensitive data. Try making a Secret with a simple name, and put the Secret’s value as the SSH key.

1 Like