Skip to main content

Command Palette

Search for a command to run...

How to access remote system by telnet server in 2022

Updated
2 min read
A

Greetings, I'm Ashwin Santosh Telmore, a passionate tech enthusiast on a mission to demystify the intricate world of technology. With a background in Computer Engineering and a flair for simplifying the complex, I'm here to share tech knowledge in the easiest and most accessible way.

Imagine having your own personal tech guide – that's where I come in! From exploring the wonders of the MERN stack to unraveling the magic behind web development, I'm here to make tech concepts like C++, JavaScript, and Python a walk in the park.

Navigating the dynamic realm of web technologies, I've mastered HTML, CSS (SASS), and JavaScript, empowering me to bring websites to life with interactivity. Let's embark on a journey through the ever-evolving tech landscape, making the intricate world of technology understandable for all.

Via telnet server we can access the any computer remotely. whoever telnet is not good option for the accessing the computer instead of telnet we should use ssh but in this blog we gona talk about telnet

here are the steps

Requirements

  • A server with Ubuntu 22.04 installed.
  • A non-root user with sudo privileges.
  • A static IP address 192.168.0.100 configure on your server.

Remote server configuration Install Telnet Server By default, the Telnet server package is available in the Ubuntu 20.04 default repository. You can install it by just running the following command:

sudo apt install telnetd -y

Once the installation is completed, you can check the status of Telnet service using the following command:

sudo systemctl status inetd Telnet is activation in the configuration file

open file “/etc/xinetd.d/telnet“ by running following command

vim /etc/xinetd.d/telnet

Past following code here

service telnet
{
   flags = REUSE
   socket_type = stream
   wait = no
   user = root
   server = /usr/sbin/in.telnetd
   log_on_failure += USERID
   disable = yes
}

Restart the telnet

Now, we have to open port23 in the ufw firewall. Execute the below command:

ufw allow 23/tcp

The next step is to reload the firewall to apply the changes. To reload the firewall, execute the below command:

ufw reload

Verify that the service is started and running normally on the server. Typically, you can start the telnet service with the following command.

/etc/init.d/xinetd restart

Test Telnet Connection from Remote System Telnet server is now installed and listening on port 23. It’s time to connect the Telnet server from the remote system.

Now, log in to another Ubuntu system and replace ip_address with your remote system which you want to access run the following command:

telnet ip_address

Done!

System Administration

Part 3 of 3

practical manual for DBATU stuedent for Full stack Web development practical Government college of engineering Yavatamal

Start from the beginning

Aim: Configuration of Proxy Server.

Government college of engineering Yavatamal

More from this blog

Notes

22 posts

Web developer | | CSE student | | C and C++ Talks about #react,#next.js #frontend, and #webdevelopment