Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8051

Beginners • Re: Logging in via SSH in BOOKWORM - with token/key

$
0
0
Thanks to you both.

I'm sure you've heard of "SOD'S LAW".

from link https://www.raspberrypi.com/documentati ... a-password I saw what I was doing.

Tried it again, and it worked.

Though now looking at my notes:

Code:

cat ~/.ssh/id_rsa.pub | ssh <user>@<other machine> 'cat >> .ssh/authorized_keys'
It is slightly different to what is shown on the page above:

Code:

scp .ssh/id_rsa.pub <username>@<ip address>:.ssh/authorized_keys
Which may explain why it didn't work.
(How do I mark this as now resolved? Oh, I think it is me to edit the topic to say that - yes?)

Statistics: Posted by lerner — Tue May 13, 2025 9:29 pm



Viewing all articles
Browse latest Browse all 8051

Trending Articles