fix check for creating ssh key
This commit is contained in:
		
							parent
							
								
									be1751a9c4
								
							
						
					
					
						commit
						dfa16c1208
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -43,7 +43,7 @@ if [[ ! -f ./.env ]]; then
 | 
			
		|||
fi
 | 
			
		||||
 | 
			
		||||
# Check if ssh key already exists, otherwise generate one
 | 
			
		||||
if [[ ! -f ./data/restic/ssh/ ]]; then
 | 
			
		||||
if [[ ! -f ./data/restic/ssh/id_ed25519 ]]; then
 | 
			
		||||
	[[ ! -d ./data/restic/ssh/ ]] && mkdir -p ./data/restic/ssh/
 | 
			
		||||
	ssh-keygen -t ed25519 -C "sso.base23.de" -f ./data/restic/ssh/id_ed25519
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue