Software apps and online services
Have you stuck with your raspberry pi project because you don’t have an HDMI monitor and a spare keyboard to work with, well don’t worry.You can enable the SSH in raspberry in the first boot itself from your laptop without any monitor and keyboard.
Originally posted on: diyusthad.comWatch the videoStep 0: Install Etcher
Etcher is an SD card flasher app that is simple for end users, extensible for developers, and works on any platform.
- Go to https://www.balena.io/etcher/ and download the software for your OS.
- Open the downloaded file and install the software.
- Insert the SD card to your computer.
- Open Etcher
- Click on Select image button and choose the downloaded raspbian OS image.
- Then click on Select target button
- Then choose the inserted SD card and click Continue
- Finally click Flash button
- It will take some time for the flashing process to complete
- Go and have a nice cup of coffee
- Open a text editor
- Save the blank document to the SD card name it as ssh
- Open the SD card and delete the extension from the saved ssh document, for example, the file name will be ssh.txtso delete the.txt part from it
- If you cant see the extension with the file name then do as follows
- In Windows –
- Open file explorer -> change folder and search option
- Click on View tab and remove the tick from “hide extensions of known file type”.
- In Mac –
- Right-click on the ssh file -> get info
- Then from name & extension remove the extension part
- Thats it, now our SD card is ready to boot
- Insert the Micro SD card.
- Connect Raspberry Pi to your network using a ethernet cable.
- Finally, connect the power supply.
- Find the router IP and login username and password, it will be printed behind the router.
- Login to your router configuration page from your laptop using the IP of your router. The laptop must be connected to the network.
- Go to DHCP settings and open DHCP client list or DHCP lease status. Based on the manufacturer and model of the router there will be some changes in the settings order and names.But always look for the DHCP settings and from there you can get the list of the connected device and the IP addresses.
- From that list find raspberry and note down the IP address associated with.
- Download and install PuTTY from here.
- PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open-source software that is available with source code and is developed and supported by a group of volunteers.
- Then in the host name field type the IP address of your raspberry pi.
- The port should be 22 and select SSH radio button and hit open
- Then a security alert will be prompted so click yes
- Now enter pi as login id
- Then enter the password, by default it will be raspberry
- Open a terminal window
- Type sshpi@your_pi_ipaddress, example ssh firstname.lastname@example.org
- Then it will ask for permission to connect so type yes
- Then enter the password, by defauld the password will be raspberry
- In Linux you can follow the same procedure as in Mac
- Type passwd
- It will be promoted to enter the old password, so enter it.
- Then it will be promoted to enter the new password, press enter and repeat the new password and press enter again.
- Now the new password is successfully set.