# First-Time Setup Notes for Nest and Pijul

## Getting SSH to Work with Nest

I never was able to get the SSH on my macbook to work for the Nest website. What changed tonight? I had my Copilot CLI figure it out. I'll have to ask him what the problem was.

From my estimation, the problem was my SSH agent wasn't consistently loaded on my terminal sessions. However, it really smells to me like a red herring the CLI agent went off on.

One big thing it found was the correct format for identifying the website to use, the username, and the repo name. I had been using the wrong format, which was causing the SSH connection to fail. The Pijul CLI would only say "error 404", so I was lost. Copilot determined some way to find out more error details, apparently from the Pijul docs (I saw a few Pijul website URLs flash by in the terminal).

## SSH Key Differences

One other difference tonight was running from a Chromebook instead of my macbook. I remember something about macbooks using a different SSH key format, and I know my default key here is called `id_rsa` whereas on my macbook it's `id_ed25519` (maybe—that name is just a Copilot auto-completion).

## Weird Chromebook Issue

A weird thing that happened was, halfway through the process of editing some stuff after my first Pijul push to the Nest, the Chromebook just up and died. Like, as if its battery died. I plugged it in and it came back, but the battery was still above halfway.

## Going Forward

### Editor Setup

I'd like to make a few repos to test out working from Pijul. VS Code doesn't have a Pijul extension (that I've found yet), so I'll have to do all my Pijul work from the terminal. I can use VS Code for editing, but I'll have to run the Pijul commands in the terminal. It's not bad, though, especially once I figure out a nice one-letter alias for Pijul.

### Project Considerations

Some consideration that goes into what project is good for Pijul is what frameworks/platforms support it. Laravel Zero _might_ be able to publish to the PHP package thing it uses, but I'm not sure. But it's a better chance, I think, than a web app. Although with Laravel Forge, I should be able to just get a server spun up and use a custom deploy script. Install Pijul beforehand.