24 lines
		
	
	
	
		
			490 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			490 B
		
	
	
	
		
			Text
		
	
	
	
	
	
Port 22
 | 
						|
AddressFamily any
 | 
						|
ListenAddress 0.0.0.0
 | 
						|
ListenAddress ::
 | 
						|
 | 
						|
PermitRootLogin prohibit-password
 | 
						|
StrictModes yes
 | 
						|
MaxAuthTries 10
 | 
						|
MaxSessions 255
 | 
						|
PubkeyAuthentication yes
 | 
						|
PasswordAuthentication no
 | 
						|
ChallengeResponseAuthentication no
 | 
						|
AuthorizedKeysFile .ssh/authorized_keys
 | 
						|
UsePAM yes
 | 
						|
 | 
						|
AllowUsers ${' '.join(users)}
 | 
						|
 | 
						|
PermitTTY yes
 | 
						|
TCPKeepAlive yes
 | 
						|
ClientAliveInterval 30
 | 
						|
ClientAliveCountMax 5
 | 
						|
AcceptEnv LANG
 | 
						|
Subsystem	sftp	/usr/lib/openssh/sftp-server
 | 
						|
HostKey /etc/ssh/ssh_host_managed_key
 |