So welcome back to this video. So
as we have seen how to perform SSH
on a specific port in our local
machine that we did on to the Paratus. Now
we are going to do the similar
thing onto a live server. Now, this is
the manage SSH portal of
my website, which is hacktify.in. And now I'm
going to perform a SSH to the
host which is hackedify.
All right. So here you can see the excess details
which gives a server IP the username and
the SSH Port now. One thing
that you should notice over here is I have
changed the default Port so the default
Port is not 22 anymore. But it is
2 1 0 9 8 this is specifically for
those people or random Bots
who try to brute force on port number 22.
All right. So let's quickly connect to this
server IP. So I have copied the IP and
let me just clear the screen for you. First
and SSH is the command and we
know if we want to perform SSH connection
we can use that with the
help of the username. So I'm going
to connect with the help of my username which is
this and the IP address now when I
hit enter it is going to take some time
and it is going to give a error because by
default SSH is trying on
port number 22.
But as we have seen the SSH
that is running onto the remote host that
is hackedified dot in is not on 22, but
it is on 21098. So I'll
just cancel this and again, I'm going
to specify the port number this time
and try again. So it's 2 1 0 9
8
and hit enter
and let's wait this time and you can see it asked
me a prompt of entering a
password. So let me just quickly enter the
password for SSH.
And you can see I have successfully logged in
into the machine.
Alright, so let me just do LS and you can see these are
all the directories that are hosted onto
the server now. I can modify things here as
I want. I can upload download files Etc
onto the hectified.in server. So
I hope you guys understood this how you can perform SSH
on local and remote servers. It is
exactly the same process, but in this specific video, I
wanted to show that yes, this admins use
different port numbers on live production
servers this way, and this is the in which
you can connect SSH to those portals. I
hope you guys understood. Thank you.