Security

Simple SSH Commands

Simple SSH Commands

Fadıl

What will you need?

Before you begin this guide, you need the following:

  • Terminal access

Step 1 – Access the remote server

It is recommended that you use a newly installed free virtual server to prevent you from accidentally performing an incorrect operation.

SSH, Secure Shell means. A protocol used to connect to a remote server/system.

Here is the simple command you should use:

ssh user @ ServerIP

This command  connects you to a server with an sunucuip The IP address and useruser name. Another and simpler way to connect ssh serveripwould be to use it. With this method, the shell will think that you are trying to connect with the same user you are currently logged in to. 

What is Firewalld?

Fadıl

Who is using it?

Firewalld is used in the following Linux distributions as the default firewall management tool:

  • RHEL 7, CentOS 7
  • Fedora 18 and newer
  • Available for several other distributions

The most distinctive feature of Firewalld compared to IPTables is that it uses zones. Zone rules apply. Each zone can use different configurations. You can change all the rules that you apply by changing these zones.

Firewall-cmd is the most basic command we will use.

How to make Nginx Directory / Folder Encryption

How to make Nginx Directory / Folder Encryption

Fadıl

On our Nginx server, for some reason, we may want to encrypt a directory/folder so that it can only be accessed with our username and password. Since Vesta CP is a free web panel, we will explain this article on how to encrypt a site’s directory on VestaCP on NGINX.

You can perform Nginx directory encryption in all Nginx installed VPS or VDS server packages in this article.

We connect to the SSH of our Linux server and run the following command;

Finding Wi-Fi Passwords That Have Been Used Previously in Windows Systems

Fadıl

We can obtain the wi-fi, SSID and passwords used in our Windows operating system in two ways.

First one is GUI (graphical user interface) and the other is via Command Prompt. We will demonstrate using both methods.

The first one with GUI; I will show the operations on Windows 10, the appearance may differ in other versions.

First, click the Network icon in the lower right corner of the system or click Network and Sharing Center from the Control Panel.

How To Hide ICMP Package in Linux Systems?

Fadıl

It should be protected from attacks such as IP Flooding or DDOS, which in fact is the worst of the types of attacks and still has no complete solution to prevent over the world. In this case, servers on the network must hide the outside world. Hiding ICMP packets will be a starting point for this, which should already be hidden for critical servers.

This configuration can be done through firewalls above, but the method we will talk about here is to show that this process can be done in the Linux kernel module, there are many parameters like this in Linux kernel modules and these parameters are examined separately for each process and these parameters are examined individually. It must be configured. The kernel parameter for this change is the module “net.ipv4.icmp_echo_ignore_all. Now we should take a look at how to do these operations, but let’s take a look at what the default parameter of this variable is and see if it is “0”.