Skip to content

Commit a344bc9

Browse files
Create README.md
1 parent 82d21ad commit a344bc9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

01_Paramiko_Sample_Scripts/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Directory : [01_Paramiko_Sample_Scripts](https://github.com/network-evolution/Python_for_Network_Engineers/tree/main/01_Paramiko_Sample_Scripts)
2+
This directory contains Scripts which explains how to use Paramiko Library for communicating with Cisco Devices.
3+
4+
* Demonstrates the use of SSH Hostkey policy. Different ways to use hostkey policies :
5+
```
6+
session.set_missing_host_key_policy(paramiko.AutoAddPolicy())
7+
session.load_host_keys('/home/evolve/.ssh/known_hosts')
8+
session.set_missing_host_key_policy(paramiko.WarningPolicy())
9+
```
10+
11+
* SSH Keybased Authentication Using Paramiko:
12+
* Paramiko SSH exec_command Example
13+
* Paramiko invoke_shell example
14+
* SSH Password Based Authentication
15+
16+
### List of Scripts in the Directory
17+
```
18+
01_ssh_host_key_policy.py
19+
02.1_ssh_key_cisco_exec_command.py
20+
02.2_ssh_key_cisco_invoke_shell.py
21+
02.3_ssh_key_cisco_invoke_shell_fn.py
22+
```
23+
24+
[Click here for Complete Paramiko Scripts Tutorial Playlist In YouTube :01_Paramiko_Sample_Scripts](https://www.youtube.com/watch?v=A075aWJMAeM&list=PLOocymQm7YWYc73phqzbZ1S3ANrVVpUFN)

0 commit comments

Comments
 (0)