Learn how to set up and use SSH to connect your local development environment to Replit Apps for secure remote access and file synchronization.
replit.pub
, please proceed to Get the contents of your public key.
.pub
), as we’ll need that for later.
replit.pub
to use later in this article and proceed to add the SSH key to your account.
replit.pub
that we obtained from the previous section, Find or create a keypair.
~/.ssh
directory and ~/.ssh/config
file exist:replit
keypair for all *.replit.dev domains:~/.ssh/config
, enter the following:
<your_hostname>.<cluster>.replit.dev
Port: <port_number>
User: Username
Private Key: Path to the private key file on your computer. Usually next to replit.pub
.