From 7fa927ef8ceea6b1b2848ca433b8b3e3b63f0509 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Fri, 21 Feb 2025 22:23:36 +0100 Subject: [PATCH] fix: support ':' sign in password --- sshuttle/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshuttle/ssh.py b/sshuttle/ssh.py index 8f295e2..c4e417e 100644 --- a/sshuttle/ssh.py +++ b/sshuttle/ssh.py @@ -56,7 +56,7 @@ def parse_hostport(rhostport): # Fix #410 bad username error detect if ":" in username: # this will even allow for the username to be empty - username, password = username.split(":") + username, password = username.split(":", 1) if ":" in host: # IPv6 address and/or got a port specified