7

Interacting with FTP, SFTP, and SSH Servers

In this chapter, we will learn about the modules that allow us to interact with FTP, SFTP, and SSH servers. These modules will make it easier to connect to different types of servers while performing tests related to the security of the services that are running on these servers.

As a part of this chapter, we will explore how the computers in a network can interact with each other and how they can access a few services through Python scripts and modules such as ftplib, paramiko, and pysftp. Finally, we are going to check the security of SSH servers with the ssh-audit and Rebex SSH check tools.

The following topics will be covered in this chapter:

  • Connecting to FTP servers
  • Building an anonymous FTP ...

Get Python for Security and Networking - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.