Install Paramiko under Linux

Source: Internet
Author: User

Paramiko is a module written in the Python language that follows the SSH2 protocol and supports the connection of remote servers in a way that is encrypted and authenticated.

All Python-supported platforms, such as Linux, Solaris, BSD, MacOS X, Windows, and so on, are supported by the use of Python, which can run across platforms, so Paramiko Paramiko is one of the best tools when you need to use SSH to connect to another platform from one platform and perform a series of operations.

System Information currently in use:

 more/etc/redhat-7.2. 1511  uname -3.10. 0-327.36. 3. el7.x86_64 #1:: x86_ x86_64 x86_64 Gnu/linux

Try to import Paramiko in Python idle environment, error no module named ' Paramiko ':

[[Email protected] ~]# Pythonpython3.5.0(Default, Feb -  ., A: -: the) [GCC4.8.5 20150623(Red Hat4.8.5-4)] on Linuxtype" Help","Copyright","credits"Or"License"  for  Moreinformation.>>>Import Paramikotraceback (most recent call Last): File"<stdin>", line1,inch<module>Importerror:no module named'Paramiko'>>> exit ()

Install two modules using PIP:

InstallInstall Paramiko

Import Paramiko again:

[[Email protected] ~]# Pythonpython3.5.0(Default, Feb -  ., A: -: the) [GCC4.8.5 20150623(Red Hat4.8.5-4)] on Linuxtype" Help","Copyright","credits"Or"License"  for  Moreinformation.>>>Import Paramiko>>>print (paramiko.__version__)2.2.1>>>

Install Paramiko under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.