Skip to content

Instantly share code, notes, and snippets.

@YoniItzhak
YoniItzhak / using_fabric.py
Last active February 16, 2023 16:20
Creating connection
from socket import error as socket_error
from fabric import Connection
from paramiko.ssh_exception import AuthenticationException
class ExampleException(Exception): # Should be your Exception
pass