English 中文(简体)
Raspberry Pi SSH 出入
原标题:Raspberry Pi SSH Access Denied

I am trying to log into my Raspberry Pi using PuTTY from Windows. However, whenever I try to log into my Raspberry Pi using the default username and password (pi* and raspberry) it says Access Denied.

我有wpa_supplicant.conf文档和薄文档。 这是它的第一个boot。 我正在使用最新版本的Raspbian Lite OS。

最佳回答
问题回答

The default username and password are no longer valid for Raspberry Pi.

If you are trying to log in headlessly (without a monitor and keyboard), you can do it from Raspberry Pi Imager itself. On selecting the OS in Raspberry Pi Imager, you get an icon of settings in which you can

  • create a user
  • setup Wi-Fi
  • enable SSH

After configuring, you can continue flashing your memory card. And on first boot you will be good to go.

我已经解决这个问题。 您可以方便地向您用户名和密码输入Raspberry Pitusr

Screenshot of an example of using "Advanced Options" in Raspberry Pi Imager

A simpler solution only needs one step.

创建名为userconf.txt的文档和您的PC / Mac,并在您撰写后将其输入< SD卡 根切片。 Raspberry Pi OS图像系统。

pi:/4g6TptuTP5B6

页: 1

“在此处的影像描述”/</a

test

# check ✅
$ cat /boot/userconf.txt
pi:/4g6TptuTP5B6

“enterography

refs

https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-a-user

添加你在向冲锋枪集团播放图像时创造的用户。

 usermod -a -G ssh YourPiUsername

确保其用户名和自行地址如下文所示。

ssh [email protected]

我错过了假定我用户名称的错误,而Pip地址只能以东道名称“手伯里皮”。

ssh pi@raspberrypi

这是错误的。 希望这一帮助。





相关问题
How to use Yubikey for SSH on Windows?

I m on Windows and I want to be able to SSH into my Raspberry PI and use my Yubikey to login instead of using a password. How am I able to do this?

Raspberry Pi cluster, neuron networks and brain simulation

Since the RBPI (Raspberry Pi) has very low power consumption and very low production price, it means one could build a very big cluster with those. I m not sure, but a cluster of 100000 RBPI would ...

RP Pico won t connect to PC

I created a blink program with cmake in a VM and loaded it onto the pico from Windows. The pico disconnected, but it did not blink, and it does not reconnect to my windows pc. I tried unplugging it ...

Raspberry Pi 5 Controls GPIO4 Pin Output Clock signal

I am currently having a problem with how to use a Raspberry Pi to control the GPIO4 pin to output a 2.4MHz clock signal to drive a digital microphone to run. Previously, I used the C library WringPi, ...

热门标签