HOW TO: SSH into Raspberry Pi (remote.it)?
chinamatt chinamatt
1.48K subscribers
1,218 views
16

 Published On Jun 20, 2022

Follow these steps to SSH into your raspberry pi using remote.it:

• On the first boot for the Pi, follow the setup instructions. Connect to wifi network so the pi will connect automatically when booted.
• Go to Preferences, and Raspberry Pi Config, to enable ssh. Also, set the screen resolution to a fixed option (e.g. 1920x1080 60hz).
• On your laptop, download remoteit desktop app (https://remote.it/download/).
• Create an account (https://link.remote.it/portal/signup )
• Click the ‘+’ button, and choose ‘Unix & Raspberry Pi’. A shell code snippet will be generated. Make a note of the snippet. This command will register your pi device onto your remoteit account so you can control it from your laptop.
• On your Pi, open the terminal and run `nano /home/pi/remoteit.sh`, type the code snippet in. Also, include another command to remove any existing installation of remoteit. I have also added a log file so I know when this script was run.
• To make this file run automatically when the raspberry pi boots up, we need to write a command in crontab:
o crontab -e
o @reboot bash /home/pi/remoteit.sh
• Now reboot your pi.
• On your laptop, you should see raspberry pi device pop up. Click on ‘ssh’ and click ‘add to network’, then ‘launch’. Enter the credentials of your pi and you’re done.
• That’s it. You can now control your pi from anywhere in the world as long as you are connected to the internet.

show more

Share/Embed