The last step we did was to create the SSH key in the Terminal, and copied the key to your clipboard by using the following command:
pbcopy < ~/.ssh/id_rsa.pub
You can now paste your key in the Templ Panel using the Command key (⌘) + V, to do that, open the Templ Panel if you haven't already, then click on File Access > Access Key > Create.
- Give your Access key a name, mine is called "Karl Mac" (My name and my device).
- Paste the key in the key field. If you need to copy they SSH key to your clipboard again, use the command line above in the Terminal again.
- Add to All - I recommend checking this box, so your key will work with all your websites, in case you have more than one.
- If you want your key to work with a single website, uncheck "Add to all" and then select your website in the dropdown list.
When you are done, it should look similar to this:
Click Continue, and you are done with the steps in this part. Next up is how to set up a SFTP Client and link it with your Templ site.