Kamis, 10 Desember 2020

Paramiko Installation

 Paramiko Installation




Untuk menginstall paramiko pada ubuntu, kita bisa menggunakan perintah berikut.

sudo apt-get install build-essential libssl-dev libffi-dev -y

sudo apt-get install python-pip -y

sudo pip install cryptography

sudo pip install --upgrade pip

sudo pip install paramiko

Jika ingin menginstall di windows maka temen-temen bisa buka cmd

 C:\Users\IDNBOARDINGSCHOOL>python --version

Python 3.8.1

C:\Users\IDNBOARDINGSCHOOL>pip install paramiko

C:\Users\IDNBOARDINGSCHOOL>python -m pip install --

upgrade pip C:\Users\ IDNBOARDINGSCHOOL >python

Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916

32 bit (Intel)] on win32

Type "help", "copyright", "credits" or "license" formore information.

>>> import paramiko

>>> exit ()

Untuk memastikan apakah paramiko sudah terinstall atau belum, kita bisa menggunakan perintah berikut

root@sahrulhidayat:~# pip show paramiko

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.

PleaseupgradeyourPythonasPython2.7isnolongermaintained. A future version

of pip will drop support for Python 2.7. More details about Python 2

support in pip, can be found at

https://pip.pypa.io/en/latest/development/release-process/#python-2- support

Name: paramiko Version: 2.7.1

Summary: SSH2 protocol library

Home-page: https://github.com/paramiko/paramiko/ Author: Jeff Forcier

Author-email:

jeff@bitprophet.org License:

LGPL

Location: /usr/local/lib/python2.7/dist-packages

Requires: cryptography, pynacl, bcrypt

Required-by: scp, pyntc, netmiko, ncclient, napalm, junos-eznc

Tidak ada komentar:

Posting Komentar

LAB 1 FORTIGATE BASIC KONFIG

BASIC KONFIG FORTIGATE     Assalamualaikum Warahmatullahi Wabarakaatuh.....       Yaa...  jadi kali ini saya akan menjelaskan tutorial basic...