Blob Blame History Raw
diff --git a/mycli/main.py b/mycli/main.py
index d298f20..01eb868 100755
--- a/mycli/main.py
+++ b/mycli/main.py
@@ -384,7 +384,7 @@ class MyCli(object):
 
         database = database or cnf['database']
         # Socket interface not supported for SSH connections
-        if port or host or ssh_host or ssh_port:
+        if port or host or ssh_host:
             socket = ''
         else:
             socket = socket or cnf['socket'] or guess_socket_location()