python3学习手册
port = 22 timeout = 20 # 单位:秒 client1 = paramiko.client.SSHClient() client1.set_missing_host_key_policy(paramiko.AutoAddPolic y()) # 允许连接不在know_hosts文件里的主机 try: client1.connect(hostname=hostname, port=port AuthenticationException as e: print(f"Authentication Error: {e}") exit() stdin, stdout, stderr = client1.exec_command("ls -l") # 执行一次性命令 # stdout.read() #返回bytes # stdout.readlines() print("## 请输入:要执行的命令,最后按Ctrl+D结束输入 ##") input_list = sys.stdin.readlines() # 输入要执行的命令 client1 = paramiko.SSHClient() client1.set_missing_host_key_policy(paramiko.AutoAddPolic y()) # 自动添加服务器的ssh密钥,允许连接不在know_hosts文件里的0 码力 | 213 页 | 3.53 MB | 1 年前3Predictably Irrational
direction our life takes; but alas, this perception has more to do with our desires – with how we want to view ourselves – than with reality. “A second main lesson lesson is that althrough irrationality is perspective as we do.” o “Ownership is not limited to material things. It can also apply to points of view. Once we take ownership of an idea-whether its about politics or sports-what do we do? We love it0 码力 | 3 页 | 234.46 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
disconcerting connotations of the term – the Enterprise Architecture. The asset view of IT will substitute for the outdated project view in my vision for what IT leadership must become. Uncertainty and Risk:0 码力 | 4 页 | 379.23 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
and then, the economics of IT delivery often favored buying a product off the shelf. But when we view IT capabilities as being in a continuous state of transformation, when we see them as tightly integrated senior leadership team includes someone called the CFO, who helps lead the company from the point of view of someone who is an expert in finance; the CMO is someone who contributes expertise in marketing0 码力 | 7 页 | 387.48 KB | 5 月前3Open Discussion on Project Planning
assumes that these will change over time. Even so, the program must maintain a big picture, long-term view and focus on the next six-month release. DO epics and user stories to concisely define the desired0 码力 | 2 页 | 49.30 KB | 5 月前3k8s操作手册 2.3
kube/config文件中 # kubectl config set-creden�als kube-user01 --embed-certs=true \ --client-cer�ficate=/etc/kubernetes/pki/kube-user01.crt \ --client-key=/etc/kubernetes/pki/kube-user01.key #创建context上下文 # kubectl config0 码力 | 126 页 | 4.33 MB | 1 年前3A Seat at the Table: IT Leadership in the Age of Agility - Part 2
Traditional governance approach: Hunter and Westerman’s book Real Business of IT shares the traditional view of governance. The basics of the [governance] process involve project sponsors (1) developing a0 码力 | 7 页 | 387.61 KB | 5 月前3The DevOps Handbook
FIND AND FILL ANY TELEMETRY GAPS i. Expand metrics from business, application, infrastructure, client software, and deployment pipeline levels 1. With every production incident identify missing telemetry0 码力 | 8 页 | 24.02 KB | 5 月前3
共 8 条
- 1