INTL 3:770/1 3:770/3
REPLYADDR cl@isbd.net
REPLYTO 3:770/3.0 UUCP
MSGID: 407a5e60
REPLY: 084c8679
PID: SoupGate-Win32 v1.05
Pancho wrote:
> On 1/25/25 22:34, Chris Green wrote:
> > I am trying to set up a new, headless Pi 4B. I have copied the 'lite'
> > image to a USB drive and created the empty 'ssh' file in the boot
> > partition.
> >
> > It boots OK and the ssh deamon is running but the default username
> > 'pi' and password 'raspberry' don't work. How on earth do I get into
> > it to start it up?
> >
> > I can edit files on the USB drive OK so I can add and modify entries
> > in /etc/passwd and /etc/shadow. So all I actually need to do is set it
> > up so the user 'pi' has no password but I'm not doing too well at
> > doing that at the moment.
> >
> > Any ideas, or other ways to get into it?
> >
>
> Use the Raspberry Pi Imager, it is good. That allows you to do some boot
> provisioning, this is a more up to date version of the ssh file in boot.
> I think there is a .yml provisioning file, but I get confused between
> different OSes.
>
> The other way is to use a .ssh/authorized_keys file, with an appropriate
> key set up on the machine you are coming from.
Yes, .ssh/authorized_keys would seem to be the way to go, thanks.
--
Chris Green
ยท
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
SEEN-BY: 19/38 105/81 106/201 128/187 129/305 153/757 7715 154/110
SEEN-BY: 218/700 840 220/70 226/17 30 100 227/114 229/110 111 114
SEEN-BY: 229/200 206 275 300 317 400 426 428 470 550 616 664 700 705
SEEN-BY: 266/512 267/800 291/111 292/854 310/31 320/219 322/757 342/200
SEEN-BY: 396/45 460/58 633/280 281 418 420 509 2744 712/848 770/1
SEEN-BY: 770/3 100 330 340 772/210 220 230 902/26 2320/105 5020/400
SEEN-BY: 5075/35
PATH: 770/3 1 633/280 229/426
|