Maybe you have one or more other devices you want on Linux and you want the ability to control that device from anywhere in your network. As long as you know the basics of the terminal if not you may want to read this:

Firstly on any device, you want to connect to, you will want to install SSH. You can do this by:

sudo apt install ssh

Now you have SSH installed its easy to log in. Before we get started, take note of your computer’s name on the network do to this load any terminal window and you are greeting by yourusername@yourpcname, (Example below) write this down or remember it and head to the PC you want to remote connect with and load a terminal.

Now enter this in terminal

ssh yourusername@yourpcname

In my example I would would type:

ssh stephen@lappy-tux

Press enter and type the password you set for the user profile on your other computer. (This is the password you use whenever you install something or sudo anything in a terminal)

And that’s it you are done. You can now control the remote computer. SSH is more powerful than just a network tool. I have not touched on it in this post as this can be dangerous but you are able to open ports within your modem and will be able to remote connect anywhere in the world but this can and will be dangerous. If you were to do this through the way you connect is:

ssh yourusername@youripaddress

As this is a beginner post I won’t go too much into detail about how to do this but it’s just good practice to let you know it can be done.

Now that you have remote access your are able to act as if you are on that computer. You can install and remove any packages. Make folders and even run this remotely.

I will be making a terminal cheat sheet very soon. This should help everyone get started and master the terminal and of course, as its a terminal connection to the remote system, this will work with that. After all, ssh its the exact same as loading a terminal as if you are sat at the pc. With that in mind when we start heading onto more advance stuff we will also look at how to use this with a remote server you may have or not have but want.

Controlling other devices on a network (SSH) Debian based systems only.
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *