Raspberry pi telnet
What You will learn here about Raspberry pi telnet:
- What is telnet?
- How to install telnet on raspberry pi
- How to access raspberry pi from remote place using putty
- How to block particular system from accessing raspberry pi using telnet
What is telnet?
Telnet is an application layer protocol which help us to get access of another system or computer from remote place.
How to install telnet on raspberry pi
Please follow the following steps to install telnet server on raspberry pi.
1)First open the raspberry pi terminal
2)Execute the following command to install telnet server on raspberry pi.
How to access raspberry pi from remote place using putty
Please follow the following steps to access raspberry pi from putty which is telnet client.
1)In order to access your raspberry pi from remote place or another system using Putty, you need a putty.
2)If putty is not installed on your system then please click on the below link.
Installing PuTTY and PuTTYgen
3)Now open the putty.
4)Now please follow the following steps which is shown below:
- Enter the IP address of raspberry pi on which telnet server is installed.
- Choose connection type as telnet
- click on open
How to block particular system from accessing raspberry pi using telnet
Please follow the following steps to block a particular system from accessing raspberry pi using telnet.
1)Open the raspberry pi terminal
2)Now execute the following command to navigate in etc folder.
3)Now execute the following command to edit hosts.allow file.
4)Now add the following command to block particular connection.
Please replace 192.168.0.32 with IP address of system which is to be block.
5)Now Press Ctrl + X to save the changes.
6)Now Press enter Y and hit enter.
7)Now execute the following command to reboot the raspberry pi.
8)Now we will test with putty
9)Now open the Putty again
10)Now please follow the following steps which is shown below:
- Enter the IP address of raspberry pi on which telnet server is installed.
- Choose connection type as telnet
- click on open
11)Since the connection is blocked, you will not able to access raspberry pi from a remote places.