diff --git a/handlers/ssh_config/handlers/formatting_nodes.go b/handlers/ssh_config/handlers/formatting_nodes.go index 9e9a2df..2ed5ca1 100644 --- a/handlers/ssh_config/handlers/formatting_nodes.go +++ b/handlers/ssh_config/handlers/formatting_nodes.go @@ -109,7 +109,11 @@ func formatSSHOption( var key string if option.Key != nil { - key = fields.FieldsNameFormattedMap[option.Key.Key] + if optionName, found := fields.FieldsNameFormattedMap[option.Key.Key]; found { + key = optionName + } else { + key = option.Key.Value.Raw + } } else { key = "" }