Short video learning - 2, paramiko combat operation and maintenance

Content Today

# Paramiko remote login

Brief introduction

# Paramiko is used to make a remote control module, the module can be carried out using a command or file operations on a remote server, paramiko python is written in a module, follow SSH2 protocols that enable encryption and authentication way remote server Connection.

Common Operations

# SSH objects SSHClient 
# added trusted hosts set_missing_host_key_policy 
# connection Connect 
# input, output, error 
# closed ssh close

FollowMe

# Telnet one device and complete the execution result of the command output

If your browser can not display the video below, you can click here to watch a short video Youku

  

Guess you like

Origin www.cnblogs.com/lich1x/p/11783943.html