Skip to content

Update dev docs#605

Merged
sonnyp merged 11 commits into
masterfrom
update-dev-docs
May 21, 2025
Merged

Update dev docs#605
sonnyp merged 11 commits into
masterfrom
update-dev-docs

Conversation

@sonnyp

@sonnyp sonnyp commented May 13, 2025

Copy link
Copy Markdown
Collaborator

Fixes #603

@sonnyp sonnyp requested a review from ethanjli May 13, 2025 08:28
@sonnyp

sonnyp commented May 13, 2025

Copy link
Copy Markdown
Collaborator Author

@ethanjli could you follow the steps in this PR and let me know if it works for you?

@ethanjli ethanjli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test report

After I added the described snippet to ~/.ssh/config on my computer and ran ssh pi@$planktoscope (where $planktoscope is home.pkscope for me), I got this message before the password prompt: no such identity: /home/lietk12/.ssh/planktoscope: No such file or directory. The updated enable-developer-mode script completed without any errors. After I registered the new SSH key with GitHub and then ran git remote set-url origin git@github.com:PlanktoScope/PlanktoScope.git and git pull, the pull failed with the Permission denied (publickey) error.

Then I edited ~/.ssh/config so that the last line would correspond to IdentityFile ~/.ssh/$planktoscope instead of IdentityFile ~/.ssh/planktoscope. This time, ssh pi@$planktoscope worked without a password prompt. However, git pull still failed with the same error; running ls ~/.ssh showed that it just had two files, authorized_keys and known_hosts. Does this mean that I never set up SSH agent stuff on my computer, or is the guide missing an expected manual step for copying the $planktoscope ssh public key from my computer to the PlanktoScope?

Requested changes

GitHub won't let me do a "suggest change" because this PR never touched the relevant line, but the IdentityFile line of the # Add the following to ~/.ssh/config code block needs to be changed from:

  IdentityFile ~/.ssh/planktoscope

to:

  IdentityFile ~/.ssh/$planktoscope

@sonnyp

sonnyp commented May 21, 2025

Copy link
Copy Markdown
Collaborator Author

Does this mean that I never set up SSH agent stuff on my computer

You shouldn't have to do anything besides what's described here.

or is the guide missing an expected manual step for copying the $planktoscope ssh public key from my computer to the PlanktoScope?

That's what ssh-copy-id -i ~/.ssh/$planktoscope.pub pi@$planktoscope does

But it's unrelated to agent forwarding. ForwardAgent yes in .ssh/config should be enough.

Can we have a quick look together after the software meetng ?

Comment thread software/node-red-dashboard/planktoscopehat/flows.json Outdated
@sonnyp

sonnyp commented May 21, 2025

Copy link
Copy Markdown
Collaborator Author

I fixed

Requested changes

thanks.

@sonnyp sonnyp enabled auto-merge (squash) May 21, 2025 12:48
@sonnyp sonnyp disabled auto-merge May 21, 2025 12:48
@sonnyp sonnyp merged commit dd3b9a0 into master May 21, 2025
7 checks passed
@sonnyp sonnyp deleted the update-dev-docs branch May 21, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document DHCP quirk with Orange Livebox

2 participants