In this chapter, you will learn how to carry out basic configurations on a server with Telnet and SSH configured. We will begin by using the Telnet module, after which we will implement the same configurations using the preferred method: SSH using different modules in Python. You will also learn about how telnetlib, subprocess, fabric, Netmiko, and paramiko modules work. For this chapter, you must have a basic knowledge of networking.
In this chapter, we will cover the following topics:
- The telnetlib() module
- The subprocess.Popen() module
- SSH using fabric module
- SSH using Paramiko library
- SSH using Netmiko library