Fix config openssh-server
							parent
							
								
									9eeb33247b
								
							
						
					
					
						commit
						f5a93ed729
					
				@ -0,0 +1,7 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
# Allow PasswordAuthentification in sshd config
 | 
			
		||||
sed -i -e 's|\(PasswordAuthentication\) no|\1 yes|' /etc/ssh/sshd_config
 | 
			
		||||
 | 
			
		||||
# Do not allow root login without password
 | 
			
		||||
sed -i -e 's|\(PermitRootLogin\) without-password|\1 yes|' /etc/ssh/sshd_config
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue