When we deploy a service, it's often very convenient to have access to the machine providing this service. 1
It can be a server or set by your cloud provider, 2
it can be a LoRaWAN gateway, it can be a simple Raspberry Pi. 3
Well, there are dozens of examples where we need to get control of the remote machine to configure 4
it. 5
If we don't have this remote access, then we need to have a physical access to this machine with a 6
keyboard, a mouse and a screen. 7
So you get that. 8
It's really hard to do that and sometimes impossible when this remote access is activated and we are 9
logged in, then we end up with a terminal where we can control the machine. 10
Exactly 11
if we were connected directly with it, obviously this remote access must be secure and the most used 12
protocol for a secure remote access is SSH. 13
Using it is very simple. 14
We just need an SSH client. 15
Mobaxterm provides such an SSH client. 16
So let's make an example of an SSH connection on a remote Linux server. 17
In MobaXterm we open a local terminal, then we just need to type SSH followed by the username on our 18
server. 19
The username is debian. 20
Then @, here we need to enter the server IP address or its name. 21
In our case the service name is test.univ-lorawan.fr 22
Then, we just enter the password. 23
And there we go. 24
We are logged in and we can control the server. 25
With MobaXterm, we can also use the graphical user interface. 26
We click on Session, SSH, then we enter the remote control host test.univ-lorawan.fr, 27
the username debian and then, same process again, 28
we enter the password. 29
Great. 30
So during this lecture, when we say that we use a remote SSH connection, then that's exactly what we'll 31
do.