QuestionQ96

VerifiedNetwork services and applications

Which method of Python’s paramiko SSHClient class can be used to send commands to a network device?

Explanation

SSHClient.exec_command() runs a command on the remote device through the established SSH connection. The other listed methods respectively connect to the host, load host keys, or open an SFTP session.

Community Discussion

No comments yet. Be the first to start the discussion!