Questions
As we conclude, here is a list of questions for you to test your knowledge regarding this chapter's material. You will find the answers in the Assessments section of the Appendix:
- Which method from
ftplibdo we need to use to download files and whichFTPcommand do we need to execute? - Which method of the
paramikomodule allows us to connect to an SSH server and with what parameters (host, username, and/or password)? - Which method of the
paramikomodule allows us to open a session to be able to execute commands subsequently? - What is the instruction for informing
paramikoto accept server keys for the first time without interrupting the session or prompting the user? - What is the class we need to use to create our own SSH server using the
create_server()method from theasyncsshmodule?