GeoNetAgent, LDAPWeb, server-audit, server-connection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
355 B

# Setup SSH key — root@10.100.1.28 (Mailcow VM)
$ErrorActionPreference = 'Stop'
$hostIp = '10.100.1.28'
$key = Join-Path $env:USERPROFILE '.ssh\id_ed25519_mailcow'
$pub = "$key.pub"
if (-not (Test-Path $pub)) {
Write-Host "Generating key $key ..."
ssh-keygen -t ed25519 -f $key -C 'geonet-mailcow' -N '""'
}
& "$PSScriptRoot\fix-ssh-key.ps1"