Fix ssh kitten override parsing ignoring settings inherited from ssh.conf

Fixes #6639
This commit is contained in:
Kovid Goyal
2023-09-20 09:12:48 +05:30
parent 18e5b74699
commit b21bbbe14c
5 changed files with 34 additions and 11 deletions

View File

@@ -115,9 +115,6 @@ func parse_kitten_args(found_extra_args []string, username, hostname_for_match s
}
}
}
if len(overrides) > 0 {
overrides = append([]string{"hostname " + username + "@" + hostname_for_match}, overrides...)
}
return
}