HostOnNet Blog

No handlers could be found for logger paramiko.transport

On CentOS 7 server, when i try connect with fabric, i get error

$ fab --show=debug -f uptime
Using fabfile '/home/boby/www/honcpanel/fabric/'
Commands to run: uptime
Parallel tasks now using pool size of 1
[s20n] Executing task 'uptime'
[s20n] run: /bin/bash -l -c "uptime"
No handlers could be found for logger "paramiko.transport"
[s20n] Login password for 'root': 

paramiko version installed on my PC was v1.15.3. This is latest version, so i tried installing latest from git.

sudo pip uninstall paramiko
sudo pip install

That installed latest developmental version from git.

$ pip list | grep paramiko
paramiko (1.16.0)

Still i got same error.

This is fixed by editing /etc/ssh/sshd_config file

vi /etc/ssh/sshd_config



Replace with

MACs hmac-sha1,hmac-sha1-96,hmac-md5,,,,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160

The extra string added are


Now restart sshd

systemctl restart sshd

Posted in CentOS