--- name: SSH Config fileTypes: - ssh_config - config - sshd_config scopeName: source.ssh-config uuid: B273855C-59D3-4DF3-9B7C-E68E0057D315 patterns: - name: keyword.other.ssh-config match: \b(AddressFamily|B(atchMode|indAddress)|C(hallengeResponseAuthentication|heckHostIP|iphers?|learAllForwardings|ompression(Level)?|onnect(Timeout|ionAttempts))|DynamicForward|E(nableSSHKeysign|scapeChar)|Forward(Agent|X11(Trusted)?)|G(SSAPI(Authentication|DelegateCredentials)|atewayPorts|lobalKnownHostsFile)|Host(KeyAlgorithms|KeyAlias|Name|basedAuthentication)|Identit(iesOnly|yFile)|L(ocalForward|ogLevel)|MACs|N(oHostAuthenticationForLocalhost|umberOfPasswordPrompts)|P(asswordAuthentication|ort|referredAuthentications|rotocol|roxyCommand|ubkeyAuthentication)|R(SAAuthentication|emoteForward|hostsRSAAuthentication)|S(erverAliveCountMax|erverAliveInterval|martcardDevice|trictHostKeyChecking)|TCPKeepAlive|U(sePrivilegedPort|ser(KnownHostsFile)?)|VerifyHostKeyDNS|XAuthLocation)\b - captures: "1": name: comment.line.number-sign.ssh-config "2": name: punctuation.definition.comment.ssh-config "3": name: comment.line.double-slash.ssh-config "4": name: punctuation.definition.comment.ssh-config match: ((#).*$\n?)|((//).*$\n?) - captures: "1": name: storage.type.ssh-config "2": name: entity.name.section.ssh-config "3": name: meta.toc-list.ssh-config match: (?:^| |\t)(Host)\s+((.*))$ - name: constant.numeric.ssh-config match: \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b - name: constant.numeric.ssh-config match: \b[0-9]+\b