Arch Linux BasedManjaro

How To Install Telnet on Manjaro

Install Telnet on Manjaro

In this tutorial, we will show you how to install Telnet on Manjaro. Telnet is a network protocol that allows users to establish a connection to a remote computer or server, providing access to a command-line interface. It operates on port 23 and uses a client-server model, where the Telnet client initiates a connection to the Telnet server. Once connected, users can execute commands and interact with the remote system as if they were sitting in front of it.

Telnet was once widely used for remote administration, but its lack of encryption and other security measures has made it largely obsolete. When data is transmitted using Telnet, it is sent in plain text, making it vulnerable to interception and unauthorized access. As a result, more secure alternatives like SSH (Secure Shell) have become the preferred choice for remote access.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Telnet “teletype network” on a Manjaro Linux.

Prerequisites

  • A server or desktop running one of the following operating systems: Manjaro, and other Arch-based distributions.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A stable internet connection is crucial for downloading and installing packages. Verify your connection before proceeding.
  • Access to a Manjaro Linux system with a non-root sudo user or root user.

Install Telnet on Manjaro

Step 1. Before installing any new packages, it’s always a good practice to update the package lists to ensure you have access to the latest versions. Run the following command to update the package lists:

sudo pacman -Syu

Step 2. Installing Telnet on Manjaro.

Manjaro Linux uses the pacman package manager to handle software installations. To install the Telnet client and server packages, execute the following command:

sudo pacman -S inetutils

This command will download and install the necessary packages, including the Telnet client and server components.

After the installation process is complete, you can verify that Telnet is successfully installed by checking its version. Run the following command:

telnet --version

If Telnet is installed correctly, you should see the version information displayed in the terminal.

To enable and start the Telnet socket for server connections, use the following commands:

sudo systemctl enable telnet.socket
sudo systemctl start telnet.socket

These commands will ensure that the Telnet socket is enabled and started, allowing incoming Telnet connections.

To verify that the Telnet socket is running correctly, you can check its status with the following command:

sudo systemctl status telnet.socket

Step 3. Configure Firewall.

By default, Manjaro Linux comes with a firewall that blocks incoming connections. To allow Telnet traffic, you need to open port 23 in the firewall. Use the following commands to open the port and reload the firewall configuration:

sudo ufw allow 23/tcp
sudo ufw reload

This will ensure that Telnet traffic can pass through the firewall and reach your system.

Step 4. Testing Telnet Connectivity.

With Telnet installed and configured on your Manjaro Linux system, you can now test its connectivity. Here are a few examples of how to use Telnet to connect to remote servers and test open ports.

  • Connecting to a Remote Telnet Server

To connect to a remote Telnet server, use the telnet command followed by the server’s hostname or IP address. For example:

telnet idroot.us
telnet 192.168.1.100

If the connection is successful, you will be presented with a login prompt or a welcome message from the remote server. If the connection fails, you may see an error message indicating that the connection could not be established.

  • Testing Open Ports with Telnet

Telnet can also be used to test if a specific port is open on a remote system. To do this, use the telnet command followed by the server’s hostname or IP address and the port number you want to test. For example:

telnet example.com 80
telnet 192.168.1.100 22

If the port is open, Telnet will establish a connection, and you may see a response from the service running on that port. If the port is closed or blocked, you will receive an error message indicating that the connection failed.

Congratulations! You have successfully installed Telnet. Thanks for using this tutorial to install the latest version of Telnet “teletype network” on the Manjaro system. For additional help or useful information, we recommend you check the official Telnet website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button