mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
SSH does not parse port from hostname when not using a ssh:// URL
This commit is contained in:
@@ -67,7 +67,6 @@ func get_destination(hostname string) (username, hostname_for_match string) {
|
||||
_, hostname_for_match, _ = strings.Cut(hostname, "@")
|
||||
parsed = true
|
||||
}
|
||||
hostname_for_match, _, _ = strings.Cut(hostname_for_match, ":")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user