mirror of
				https://git.cloudron.io/cloudron/gitea-app
				synced 2025-11-04 00:52:35 +00:00 
			
		
		
		
	remove rsa1 since it is now unsupported
This commit is contained in:
		
							
								
								
									
										1
									
								
								start.sh
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								start.sh
									
									
									
									
									
								
							@@ -32,7 +32,6 @@ fi
 | 
				
			|||||||
if [[ ! -f "/app/data/sshd/ssh_host_ed25519_key" ]]; then
 | 
					if [[ ! -f "/app/data/sshd/ssh_host_ed25519_key" ]]; then
 | 
				
			||||||
    echo "Generating ssh host keys"
 | 
					    echo "Generating ssh host keys"
 | 
				
			||||||
    mkdir -p /app/data/sshd
 | 
					    mkdir -p /app/data/sshd
 | 
				
			||||||
    ssh-keygen -qt rsa1 -N '' -f /app/data/sshd/ssh_host_key
 | 
					 | 
				
			||||||
    ssh-keygen -qt rsa -N '' -f /app/data/sshd/ssh_host_rsa_key
 | 
					    ssh-keygen -qt rsa -N '' -f /app/data/sshd/ssh_host_rsa_key
 | 
				
			||||||
    ssh-keygen -qt dsa -N '' -f /app/data/sshd/ssh_host_dsa_key
 | 
					    ssh-keygen -qt dsa -N '' -f /app/data/sshd/ssh_host_dsa_key
 | 
				
			||||||
    ssh-keygen -qt ecdsa -N '' -f /app/data/sshd/ssh_host_ecdsa_key
 | 
					    ssh-keygen -qt ecdsa -N '' -f /app/data/sshd/ssh_host_ecdsa_key
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user