Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
sshconfig.vim305 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	OpenSSH client configuration file (ssh_config)3" Author:	David Necas (Yeti)4" Maintainer:	Jakub Jelen <jakuje at gmail dot com>5" Previous Maintainer:	Dominik Fischer <d dot f dot fischer at web dot de>6" Contributor:	Leonard Ehrenfried <leonard.ehrenfried@web.de>7"		Karsten Hopp <karsten@redhat.com>8"		Dean, Adam Kenneth <adam.ken.dean@hpe.com>9" Last Change:	2026 Mar 3110" SSH Version:	10.1p111"12 13" Setup14" quit when a syntax file was already loaded15if exists("b:current_syntax")16  finish17endif18 19setlocal iskeyword=_,-,a-z,A-Z,48-5720 21 22" case on23syn case match24 25 26" Comments27syn match sshconfigComment "^#.*$" contains=sshconfigTodo28syn match sshconfigComment "\s#.*$" contains=sshconfigTodo29 30syn keyword sshconfigTodo TODO FIXME NOTE contained31 32 33" Constants34syn keyword sshconfigYesNo yes no ask confirm35syn keyword sshconfigYesNo any auto36syn keyword sshconfigYesNo force autoask none37 38syn keyword sshconfigCipher 3des blowfish39 40syn keyword sshconfigCiphers 3des-cbc41syn keyword sshconfigCiphers blowfish-cbc42syn keyword sshconfigCiphers cast128-cbc43syn keyword sshconfigCiphers arcfour44syn keyword sshconfigCiphers arcfour12845syn keyword sshconfigCiphers arcfour25646syn keyword sshconfigCiphers aes128-cbc47syn keyword sshconfigCiphers aes192-cbc48syn keyword sshconfigCiphers aes256-cbc49syn match sshconfigCiphers "\<rijndael-cbc@lysator\.liu.se\>"50syn keyword sshconfigCiphers aes128-ctr51syn keyword sshconfigCiphers aes192-ctr52syn keyword sshconfigCiphers aes256-ctr53syn match sshconfigCiphers "\<aes128-gcm@openssh\.com\>"54syn match sshconfigCiphers "\<aes256-gcm@openssh\.com\>"55syn match sshconfigCiphers "\<chacha20-poly1305@openssh\.com\>"56 57syn keyword sshconfigMAC hmac-sha158syn keyword sshconfigMAC hmac-sha1-9659syn keyword sshconfigMAC hmac-sha2-25660syn keyword sshconfigMAC hmac-sha2-51261syn keyword sshconfigMAC hmac-md562syn keyword sshconfigMAC hmac-md5-9663syn match   sshconfigMAC "\<hmac-ripemd160\%(@openssh\.com\)\?\>"64syn match   sshconfigMAC "\<umac-64@openssh\.com\>"65syn match   sshconfigMAC "\<umac-128@openssh\.com\>"66syn match   sshconfigMAC "\<hmac-sha1-etm@openssh\.com\>"67syn match   sshconfigMAC "\<hmac-sha1-96-etm@openssh\.com\>"68syn match   sshconfigMAC "\<hmac-sha2-256-etm@openssh\.com\>"69syn match   sshconfigMAC "\<hmac-sha2-512-etm@openssh\.com\>"70syn match   sshconfigMAC "\<hmac-md5-etm@openssh\.com\>"71syn match   sshconfigMAC "\<hmac-md5-96-etm@openssh\.com\>"72syn match   sshconfigMAC "\<hmac-ripemd160-etm@openssh\.com\>"73syn match   sshconfigMAC "\<umac-64-etm@openssh\.com\>"74syn match   sshconfigMAC "\<umac-128-etm@openssh\.com\>"75 76syn keyword sshconfigHostKeyAlgo ssh-ed2551977syn match sshconfigHostKeyAlgo "\<ssh-ed25519-cert-v01@openssh\.com\>"78syn match sshconfigHostKeyAlgo "\<sk-ssh-ed25519@openssh\.com\>"79syn match sshconfigHostKeyAlgo "\<sk-ssh-ed25519-cert-v01@openssh\.com\>"80syn keyword sshconfigHostKeyAlgo ssh-rsa81syn keyword sshconfigHostKeyAlgo rsa-sha2-25682syn keyword sshconfigHostKeyAlgo rsa-sha2-51283syn keyword sshconfigHostKeyAlgo ssh-dss84syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp25685syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp38486syn keyword sshconfigHostKeyAlgo ecdsa-sha2-nistp52187syn match sshconfigHostKeyAlgo "\<sk-ecdsa-sha2-nistp256@openssh\.com\>"88syn match sshconfigHostKeyAlgo "\<ssh-rsa-cert-v01@openssh\.com\>"89syn match sshconfigHostKeyAlgo "\<rsa-sha2-256-cert-v01@openssh\.com\>"90syn match sshconfigHostKeyAlgo "\<rsa-sha2-512-cert-v01@openssh\.com\>"91syn match sshconfigHostKeyAlgo "\<ssh-dss-cert-v01@openssh\.com\>"92syn match sshconfigHostKeyAlgo "\<ecdsa-sha2-nistp256-cert-v01@openssh\.com\>"93syn match sshconfigHostKeyAlgo "\<ecdsa-sha2-nistp384-cert-v01@openssh\.com\>"94syn match sshconfigHostKeyAlgo "\<ecdsa-sha2-nistp521-cert-v01@openssh\.com\>"95syn match sshconfigHostKeyAlgo "\<sk-ecdsa-sha2-nistp256-cert-v01@openssh\.com\>"96 97syn keyword sshconfigPreferredAuth hostbased publickey password gssapi-with-mic98syn keyword sshconfigPreferredAuth keyboard-interactive99 100syn keyword sshconfigLogLevel QUIET FATAL ERROR INFO VERBOSE101syn keyword sshconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3102syn keyword sshconfigSysLogFacility DAEMON USER AUTH AUTHPRIV LOCAL0 LOCAL1103syn keyword sshconfigSysLogFacility LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7104syn keyword sshconfigAddressFamily  inet inet6105 106syn match   sshconfigIPQoS	"\<af[1-4][1-3]\>"107syn match   sshconfigIPQoS	"\<cs[0-7]\>"108syn keyword sshconfigIPQoS	ef le109syn keyword sshconfigIPQoSDeprecated	lowdelay throughput reliability110syn keyword sshconfigKbdInteractive bsdauth pam skey111 112syn keyword sshconfigKexAlgo diffie-hellman-group1-sha1113syn keyword sshconfigKexAlgo diffie-hellman-group14-sha1114syn keyword sshconfigKexAlgo diffie-hellman-group-exchange-sha1115syn keyword sshconfigKexAlgo diffie-hellman-group-exchange-sha256116syn keyword sshconfigKexAlgo diffie-hellman-group16-sha512117syn keyword sshconfigKexAlgo diffie-hellman-group18-sha512118syn keyword sshconfigKexAlgo diffie-hellman-group14-sha256119syn keyword sshconfigKexAlgo ecdh-sha2-nistp256120syn keyword sshconfigKexAlgo ecdh-sha2-nistp384121syn keyword sshconfigKexAlgo ecdh-sha2-nistp521122syn match sshconfigKexAlgo "\<curve25519-sha256\%(@libssh\.org\)\?\>"123syn match sshconfigKexAlgo "\<sntrup761x25519-sha512@openssh\.com\>"124syn keyword sshconfigKexAlgo sntrup761x25519-sha512125syn keyword sshconfigKexAlgo mlkem768x25519-sha256126 127syn keyword sshconfigTunnel	point-to-point ethernet128 129syn match sshconfigVar "%[CdfHhIijKkLlnprTtu]\>"130syn match sshconfigVar "%%"131syn match sshconfigSpecial "[*?]"132syn match sshconfigNumber "\<\d\+\>"133syn match sshconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"134syn match sshconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"135syn match sshconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}[:/]\d\+\>"136syn match sshconfigHostPort "\<\c\(Host \+\)\@<=.\+"137syn match sshconfigHostPort "\<\c\(Hostname \+\)\@<=.\+"138 139" case off140syn case ignore141 142 143" Keywords144syn keyword sshconfigHostSect Host145 146syn keyword sshconfigMatch canonical final exec localnetwork host originalhost tagged user localuser all147 148syn keyword sshconfigKeyword AddKeysToAgent149syn keyword sshconfigKeyword AddressFamily150syn keyword sshconfigKeyword BatchMode151syn keyword sshconfigKeyword BindAddress152syn keyword sshconfigKeyword BindInterface153syn keyword sshconfigKeyword CanonicalDomains154syn keyword sshconfigKeyword CanonicalizeFallbackLocal155syn keyword sshconfigKeyword CanonicalizeHostname156syn keyword sshconfigKeyword CanonicalizeMaxDots157syn keyword sshconfigKeyword CanonicalizePermittedCNAMEs158syn keyword sshconfigKeyword CASignatureAlgorithms159syn keyword sshconfigKeyword CertificateFile160syn keyword sshconfigKeyword ChallengeResponseAuthentication161syn keyword sshconfigKeyword ChannelTimeout162syn keyword sshconfigKeyword CheckHostIP163syn keyword sshconfigKeyword Ciphers164syn keyword sshconfigKeyword ClearAllForwardings165syn keyword sshconfigKeyword Compression166syn keyword sshconfigKeyword ConnectionAttempts167syn keyword sshconfigKeyword ConnectTimeout168syn keyword sshconfigKeyword ControlMaster169syn keyword sshconfigKeyword ControlPath170syn keyword sshconfigKeyword ControlPersist171syn keyword sshconfigKeyword DynamicForward172syn keyword sshconfigKeyword EnableEscapeCommandline173syn keyword sshconfigKeyword EnableSSHKeysign174syn keyword sshconfigKeyword EscapeChar175syn keyword sshconfigKeyword ExitOnForwardFailure176syn keyword sshconfigKeyword FingerprintHash177syn keyword sshconfigKeyword ForkAfterAuthentication178syn keyword sshconfigKeyword ForwardAgent179syn keyword sshconfigKeyword ForwardX11180syn keyword sshconfigKeyword ForwardX11Timeout181syn keyword sshconfigKeyword ForwardX11Trusted182syn keyword sshconfigKeyword GatewayPorts183syn keyword sshconfigKeyword GlobalKnownHostsFile184syn keyword sshconfigKeyword GSSAPIAuthentication185syn keyword sshconfigKeyword GSSAPIDelegateCredentials186syn keyword sshconfigKeyword HashKnownHosts187syn keyword sshconfigKeyword HostbasedAcceptedAlgorithms188syn keyword sshconfigKeyword HostbasedAuthentication189syn keyword sshconfigKeyword HostbasedKeyTypes190syn keyword sshconfigKeyword HostKeyAlgorithms191syn keyword sshconfigKeyword HostKeyAlias192syn keyword sshconfigKeyword Hostname193syn keyword sshconfigKeyword IdentitiesOnly194syn keyword sshconfigKeyword IdentityAgent195syn keyword sshconfigKeyword IdentityFile196syn keyword sshconfigKeyword IgnoreUnknown197syn keyword sshconfigKeyword Include198syn keyword sshconfigKeyword IPQoS199syn keyword sshconfigKeyword KbdInteractiveAuthentication200syn keyword sshconfigKeyword KbdInteractiveDevices201syn keyword sshconfigKeyword KexAlgorithms202syn keyword sshconfigKeyword KnownHostsCommand203syn keyword sshconfigKeyword LocalCommand204syn keyword sshconfigKeyword LocalForward205syn keyword sshconfigKeyword LogLevel206syn keyword sshconfigKeyword LogVerbose207syn keyword sshconfigKeyword MACs208syn keyword sshconfigKeyword Match209syn keyword sshconfigKeyword NoHostAuthenticationForLocalhost210syn keyword sshconfigKeyword NumberOfPasswordPrompts211syn keyword sshconfigKeyword ObscureKeystrokeTiming212syn keyword sshconfigKeyword PasswordAuthentication213syn keyword sshconfigKeyword PermitLocalCommand214syn keyword sshconfigKeyword PermitRemoteOpen215syn keyword sshconfigKeyword PKCS11Provider216syn keyword sshconfigKeyword Port217syn keyword sshconfigKeyword PreferredAuthentications218syn keyword sshconfigKeyword ProxyCommand219syn keyword sshconfigKeyword ProxyJump220syn keyword sshconfigKeyword ProxyUseFdpass221syn keyword sshconfigKeyword PubkeyAcceptedAlgorithms222syn keyword sshconfigKeyword PubkeyAcceptedKeyTypes223syn keyword sshconfigKeyword PubkeyAuthentication224syn keyword sshconfigKeyword RefuseConnection225syn keyword sshconfigKeyword RekeyLimit226syn keyword sshconfigKeyword RemoteCommand227syn keyword sshconfigKeyword RemoteForward228syn keyword sshconfigKeyword RequestTTY229syn keyword sshconfigKeyword RequiredRSASize230syn keyword sshconfigKeyword RevokedHostKeys231syn keyword sshconfigKeyword SecurityKeyProvider232syn keyword sshconfigKeyword SendEnv233syn keyword sshconfigKeyword ServerAliveCountMax234syn keyword sshconfigKeyword ServerAliveInterval235syn keyword sshconfigKeyword SessionType236syn keyword sshconfigKeyword SetEnv237syn keyword sshconfigKeyword SmartcardDevice238syn keyword sshconfigKeyword StdinNull239syn keyword sshconfigKeyword StreamLocalBindMask240syn keyword sshconfigKeyword StreamLocalBindUnlink241syn keyword sshconfigKeyword StrictHostKeyChecking242syn keyword sshconfigKeyword SyslogFacility243syn keyword sshconfigKeyword Tag244syn keyword sshconfigKeyword TCPKeepAlive245syn keyword sshconfigKeyword Tunnel246syn keyword sshconfigKeyword TunnelDevice247syn keyword sshconfigKeyword UpdateHostKeys248syn keyword sshconfigKeyword UseBlacklistedKeys249syn keyword sshconfigKeyword User250syn keyword sshconfigKeyword UserKnownHostsFile251syn keyword sshconfigKeyword VerifyHostKeyDNS252syn keyword sshconfigKeyword VersionAddendum253syn keyword sshconfigKeyword VisualHostKey254syn keyword sshconfigKeyword WarnWeakCrypto255syn keyword sshconfigKeyword XAuthLocation256 257" Deprecated/ignored/remove/unsupported keywords258 259syn keyword sshConfigDeprecated Cipher260syn keyword sshconfigDeprecated GSSAPIClientIdentity261syn keyword sshconfigDeprecated GSSAPIKeyExchange262syn keyword sshconfigDeprecated GSSAPIRenewalForcesRekey263syn keyword sshconfigDeprecated GSSAPIServerIdentity264syn keyword sshconfigDeprecated GSSAPITrustDNS265syn keyword sshconfigDeprecated GSSAPITrustDns266syn keyword sshconfigDeprecated Protocol267syn keyword sshconfigDeprecated RSAAuthentication268syn keyword sshconfigDeprecated RhostsRSAAuthentication269syn keyword sshconfigDeprecated CompressionLevel270syn keyword sshconfigDeprecated UseRoaming271syn keyword sshconfigDeprecated UsePrivilegedPort272 273" Define the default highlighting274 275hi def link sshconfigComment        Comment276hi def link sshconfigTodo           Todo277hi def link sshconfigHostPort       sshconfigConstant278hi def link sshconfigNumber         Number279hi def link sshconfigConstant       Constant280hi def link sshconfigYesNo          Boolean281hi def link sshconfigCipher         sshconfigDeprecated282hi def link sshconfigCiphers        sshconfigEnum283hi def link sshconfigMAC            sshconfigEnum284hi def link sshconfigHostKeyAlgo    sshconfigEnum285hi def link sshconfigLogLevel       sshconfigEnum286hi def link sshconfigSysLogFacility sshconfigEnum287hi def link sshconfigAddressFamily  sshconfigEnum288hi def link sshconfigIPQoS          sshconfigEnum289hi def link sshconfigIPQoSDeprecated sshconfigDeprecated290hi def link sshconfigKbdInteractive sshconfigEnum291hi def link sshconfigKexAlgo        sshconfigEnum292hi def link sshconfigTunnel         sshconfigEnum293hi def link sshconfigPreferredAuth  sshconfigEnum294hi def link sshconfigVar            sshconfigEnum295hi def link sshconfigEnum           Identifier296hi def link sshconfigSpecial        Special297hi def link sshconfigKeyword        Keyword298hi def link sshconfigHostSect       Type299hi def link sshconfigMatch          Type300hi def link sshconfigDeprecated     Error301 302let b:current_syntax = "sshconfig"303 304" vim:set ts=8 sw=2 sts=2:305 
codekingpro/portable-devtools · Team Ai