| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Vim syntax file | 
					
						
							|  |  |  | " This is a GENERATED FILE. Please always refer to source file at the URI below. | 
					
						
							|  |  |  | " Language: OpenSSH server configuration file (sshd_config) | 
					
						
							|  |  |  | " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> | 
					
						
							| 
									
										
										
										
											2006-03-06 23:29:24 +00:00
										 |  |  | " Last Change: 2006-03-05 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " URL: http://trific.ath.cx/Ftp/vim/syntax/sshdconfig.vim | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Setup | 
					
						
							|  |  |  | if version >= 600 | 
					
						
							|  |  |  | 	if exists("b:current_syntax") | 
					
						
							|  |  |  | 		finish | 
					
						
							|  |  |  | 	endif | 
					
						
							|  |  |  | else | 
					
						
							|  |  |  | 	syntax clear | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if version >= 600 | 
					
						
							|  |  |  | 	setlocal iskeyword=_,-,a-z,A-Z,48-57 | 
					
						
							|  |  |  | else | 
					
						
							|  |  |  | 	set iskeyword=_,-,a-z,A-Z,48-57 | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn case ignore | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Comments | 
					
						
							|  |  |  | syn match sshdconfigComment "#.*$" contains=sshdconfigTodo | 
					
						
							|  |  |  | syn keyword sshdconfigTodo TODO FIXME NOT contained | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Constants | 
					
						
							|  |  |  | syn keyword sshdconfigYesNo yes no | 
					
						
							|  |  |  | syn keyword sshdconfigCipher aes128-cbc 3des-cbc blowfish-cbc cast128-cbc | 
					
						
							| 
									
										
										
										
											2006-03-06 23:29:24 +00:00
										 |  |  | syn keyword sshdconfigCipher aes192-cbc aes256-cbc aes128-ctr aes256-ctr | 
					
						
							|  |  |  | syn keyword sshdconfigCipher arcfour arcfour128 arcfour256 cast128-cbc | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | syn keyword sshdconfigMAC hmac-md5 hmac-sha1 hmac-ripemd160 hmac-sha1-96 | 
					
						
							|  |  |  | syn keyword sshdconfigMAC hmac-md5-96 | 
					
						
							|  |  |  | syn keyword sshdconfigRootLogin without-password forced-commands-only | 
					
						
							|  |  |  | syn keyword sshdconfigLogLevel QUIET FATAL ERROR INFO VERBOSE | 
					
						
							|  |  |  | syn keyword sshdconfigLogLevel DEBUG DEBUG1 DEBUG2 DEBUG3 | 
					
						
							|  |  |  | syn keyword sshdconfigSysLogFacility DAEMON USER AUTH LOCAL0 LOCAL1 LOCAL2 | 
					
						
							|  |  |  | syn keyword sshdconfigSysLogFacility LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7 | 
					
						
							|  |  |  | syn match sshdconfigSpecial "[*?]" | 
					
						
							|  |  |  | syn match sshdconfigNumber "\d\+" | 
					
						
							|  |  |  | syn match sshdconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>" | 
					
						
							|  |  |  | syn match sshdconfigHostPort "\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>" | 
					
						
							|  |  |  | syn match sshdconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}:\d\+\>" | 
					
						
							|  |  |  | syn match sshdconfigTime "\<\(\d\+[sSmMhHdDwW]\)\+\>" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Keywords | 
					
						
							| 
									
										
										
										
											2006-03-06 23:29:24 +00:00
										 |  |  | syn keyword sshdconfigKeyword AcceptEnv AddressFamily | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword AllowGroups AllowTcpForwarding | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | syn keyword sshdconfigKeyword AllowUsers AuthorizedKeysFile Banner | 
					
						
							| 
									
										
										
										
											2006-03-06 23:29:24 +00:00
										 |  |  | syn keyword sshdconfigKeyword ChallengeResponseAuthentication | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword Ciphers ClientAliveCountMax | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword ClientAliveInterval Compression | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword DenyGroups DenyUsers GSSAPIAuthentication | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword GSSAPICleanupCredentials GatewayPorts | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword HostKey HostbasedAuthentication | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword IgnoreRhosts IgnoreUserKnownHosts | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | syn keyword sshdconfigKeyword KerberosAuthentication KerberosOrLocalPasswd | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword KerberosTgtPassing KerberosTicketCleanup | 
					
						
							| 
									
										
										
										
											2006-03-06 23:29:24 +00:00
										 |  |  | syn keyword sshdconfigKeyword KerberosGetAFSToken | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | syn keyword sshdconfigKeyword KeyRegenerationInterval ListenAddress | 
					
						
							| 
									
										
										
										
											2006-03-06 23:29:24 +00:00
										 |  |  | syn keyword sshdconfigKeyword LogLevel LoginGraceTime MACs MaxAuthTries | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword MaxStartups PasswordAuthentication | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword PermitEmptyPasswords PermitRootLogin | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword PermitUserEnvironment PidFile Port | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword PrintLastLog PrintMotd Protocol | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword PubkeyAuthentication RSAAuthentication | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword RhostsAuthentication RhostsRSAAuthentication | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | syn keyword sshdconfigKeyword ServerKeyBits StrictModes Subsystem | 
					
						
							| 
									
										
										
										
											2006-03-06 23:29:24 +00:00
										 |  |  | syn keyword sshdconfigKeyword ShowPatchLevel | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword SyslogFacility TCPKeepAlive UseDNS | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword UseLogin UsePAM UsePrivilegeSeparation | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword X11DisplayOffset X11Forwarding | 
					
						
							|  |  |  | syn keyword sshdconfigKeyword X11UseLocalhost XAuthLocation | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Define the default highlighting | 
					
						
							|  |  |  | if version >= 508 || !exists("did_sshdconfig_syntax_inits") | 
					
						
							|  |  |  | 	if version < 508 | 
					
						
							|  |  |  | 		let did_sshdconfig_syntax_inits = 1 | 
					
						
							|  |  |  | 		command -nargs=+ HiLink hi link <args> | 
					
						
							|  |  |  | 	else | 
					
						
							|  |  |  | 		command -nargs=+ HiLink hi def link <args> | 
					
						
							|  |  |  | 	endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	HiLink sshdconfigComment Comment | 
					
						
							|  |  |  | 	HiLink sshdconfigTodo Todo | 
					
						
							|  |  |  | 	HiLink sshdconfigHostPort sshdconfigConstant | 
					
						
							|  |  |  | 	HiLink sshdconfigTime sshdconfigConstant | 
					
						
							|  |  |  | 	HiLink sshdconfigNumber sshdconfigConstant | 
					
						
							|  |  |  | 	HiLink sshdconfigConstant Constant | 
					
						
							|  |  |  | 	HiLink sshdconfigYesNo sshdconfigEnum | 
					
						
							|  |  |  | 	HiLink sshdconfigCipher sshdconfigEnum | 
					
						
							|  |  |  | 	HiLink sshdconfigMAC sshdconfigEnum | 
					
						
							|  |  |  | 	HiLink sshdconfigRootLogin sshdconfigEnum | 
					
						
							|  |  |  | 	HiLink sshdconfigLogLevel sshdconfigEnum | 
					
						
							|  |  |  | 	HiLink sshdconfigSysLogFacility sshdconfigEnum | 
					
						
							|  |  |  | 	HiLink sshdconfigEnum Function | 
					
						
							|  |  |  | 	HiLink sshdconfigSpecial Special | 
					
						
							|  |  |  | 	HiLink sshdconfigKeyword Keyword | 
					
						
							|  |  |  | 	delcommand HiLink | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | let b:current_syntax = "sshdconfig" |