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
ftplib
do we need to use to download files and whichFTP
command do we need to execute? - Which method of the
paramiko
module allows us to connect to an SSH server and with what parameters (host, username, and/or password)? - Which method of the
paramiko
module allows us to open a session to be able to execute commands subsequently? - What is the instruction for executing a command with
paramiko
and what is the response format? - What is the instruction for informing
paramiko
to accept server keys for the first time without interrupting the session or prompting the user?