It is recommended to use the system installer from the raspberry pi website to record the operating system.
We download and install the installer on our system
Run the installer and select the operating system and the raspberry pi sd card connected to the computer
We wait for the installer to finish downloading and recording to the system image card.
Then by adding an empty file named ssh
boot
In order for our RPI to connect to the home network, the following text should be added to the file rootfs/etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="network name"
scan_ssid=1
psk="network password"
key_mgmt=WPA-PSK
}
Now we just need to specify the IP address of our device and we can easily log into the system via ssh
ssh pi@<IP address>
The default password for the user pi
raspberry