Update debian/debian-secure.sh
This commit is contained in:
		
					parent
					
						
							
								d90d793915
							
						
					
				
			
			
				commit
				
					
						97e91b34bf
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								debian/debian-secure.sh
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/debian-secure.sh
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -56,7 +56,7 @@ chown $USERNAME:$USERNAME /home/$USERNAME/.ssh
 | 
				
			||||||
echo "$MY_SSH_KEY" > /home/$USERNAME/.ssh/authorized_keys
 | 
					echo "$MY_SSH_KEY" > /home/$USERNAME/.ssh/authorized_keys
 | 
				
			||||||
chown $USERNAME:$USERNAME /home/$USERNAME/.ssh/authorized_keys
 | 
					chown $USERNAME:$USERNAME /home/$USERNAME/.ssh/authorized_keys
 | 
				
			||||||
chmod 600 /home/$USERNAME/.ssh/authorized_keys
 | 
					chmod 600 /home/$USERNAME/.ssh/authorized_keys
 | 
				
			||||||
chmod 600 /home/$USERNAME/.ssh
 | 
					chmod 700 /home/$USERNAME/.ssh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cat <<EOF > /etc/ssh/sshd_config.d/10-vmh-ssh.conf
 | 
					cat <<EOF > /etc/ssh/sshd_config.d/10-vmh-ssh.conf
 | 
				
			||||||
X11Forwarding no
 | 
					X11Forwarding no
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue