Paramiko Update Tutorial

There are situations when you need to update the python-paramiko library that is bundled with MySQL Workbench. This may be because you prefer
using the latest cutting edge versions, are just curious, or you can’t wait for a new Workbench version.

To update, first download the latest python-paramiko release from https://github.com/paramiko/paramiko/releases. After downloading and extracting the archive, you’ll see a paramiko folder inside of the extracted folder. This folder needs to be copied into the appropriate MySQL Workbench folder on the system.

* For Windows, this location is usually
WB_INSTALLDIR/python/site-packages/paramiko

* For OS X, this will be
/Applications/MySQLWorkbench.app/Contents/Resources/Libraries/paramiko

* For Linux, you should use your repository manager (yum, apt-get, etc.), but if it doesn’t have the latest paramiko version then you
should first uninstall your old version, download the latest paramiko, cd into the paramiko directory, and then execute “sudo python setup.py
install” to install system wide paramiko.

Note: since Paramiko 1.12, to use it, you also need the ecdsa package which can be downloaded from here:
https://github.com/warner/python-ecdsa/releases.
The same method applies; download and extract the contents of the archive, and you’ll see a ecdsa folder that should be placed next to the paramiko folder.

Please keep in mind that switching paramiko this way can break MySQL Workbench, so always make a backup first.

4 thoughts on “Paramiko Update Tutorial”

  1. THANK YOU!!!
    updated to workbench 6.3 and access to a development server i have stopped (only for workbench). putty / remote access generally were fine. Tried all sorts of things (updating on the OSX side) -but this actually worked/solved my connetcion.

    Many thanks,

  2. Thanks for this! I had the same issue when connecting to an Ubuntu 16.04 server from a Mac.

    I’m using the homebrew cask installed version of MySQL workbench, and after following this advice, couldn’t get it working. Replacing the new paramiko library with the original and keeping the ecdsa library worked for me.

    So in short, try adding the python-ecdsa libs first before replacing the paramiko library also.

  3. I used python pip to update paramiko on Ubuntu. It easier and takes newer version than apt-get. Solved problem for me.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.