sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
918 stars 126 forks source link

SSH login on headless gentoo-lite #156

Closed auladinglese closed 4 years ago

auladinglese commented 4 years ago

I'm having problems logging into ssh on the lite-image. I have been using an archlinux image and logging in over ssh, but I wanted to try this gentoo image because of the possibility of using 64bit docker images on it.

  1. discovered ip of PI
  2. ssh demouser@(pi4's IP)
  3. asks me to accept the ID.
  4. hangs...

Is there something I should put in the startup.sh before first boot.

auladinglese commented 4 years ago

Fixed it by generating a key on my laptop ssh-keygen -t ed25519 and transferring it using ssh-copy-id demouser@{my pi's IP}.

Not that complicated, but new to me.