[How To] Manage your Raspberry Pi Without Monitor

[How To] Manage your Raspberry Pi Without Monitor

In last two posts, we have introduced ourselves to the Raspberry Pi and set it up correctly. We needed a monitor or a TV to see what is happening inside the Pi. However, keeping a monitor engaged all the time is not very ideal condition. Especially, if you plan to use the Pi as a torrent box or something which keeps working background, you don’t even need monitor most of the times. In this post, we are going to see how to control Raspberry Pi without monitor. We are going to use SSH to remotely control the Pi. Let’s get started.

My Raspberry Pi Without Monitor
My Raspberry Pi Without Monitor

Preparation

First of all, you will need a computer and the Pi connected to the same network. This is why I said that a router goes a long way! Anyway, once they are connected, you should know the IP address of Raspberry Pi. You can get this by looking at the connected devices on your router’s control panel.

Secondly, you should have a SSH client. If you are on Windows, download this very lightweight client: PuTTY. If you are on Linux, you don’t need to do anything. Linux has in built SSH client.

Controlling the Raspberry Pi without monitor

Now that your computer is ready, we will start the SSH connection. Remember, when we set up our Raspberry Pi, we enabled the SSH connection! Now we will use that.

On Windows, start PuTTY. Connection wizard will open. Enter the IP address of your Pi and select connection type SSH. Port is 22 by default. Make sure everything is correctly configured and click Open button.

PuTTY Connection
PuTTY Connection

On Linux, this can simply be done by running single command in terminal.

ssh -l pi 192.168.1.9

The -l switch asks ssh to log in. Username is ‘pi’ and 192.168.1.9 is the IP address of Raspberry Pi.

Now that we have opened a SSH session, you will be asked for username and password. Enter the credentials (default username and password are pi and raspberry respectively) and you will be logged in to the Pi! You’re done. You can now easily navigate and control the Raspberry Pi! You can virtually do anything you could have done with separate monitor and keyboard attached! You can install and remove apps and so on. Isn’t that cool?

Remote SSH into Raspberry Pi
Remote SSH into Raspberry Pi

Once you are done whatever you were doing, just type command

exit

The session will close and you will be logged out!

In next article, we are going to see how to bring Raspberry Pi’s desktop to another computer. Want to know anything else? Let us know via comments.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.