$ServerIp = "112.78.3.223"
$ServerUser = "root"

if (-not (Get-Command ssh -ErrorAction SilentlyContinue)) {
    Write-Host "OpenSSH client was not found on this Windows machine." -ForegroundColor Red
    Write-Host "Install OpenSSH Client in Windows Optional Features, then run this script again." -ForegroundColor Yellow
    exit 1
}

Write-Host "Connecting to $ServerUser@$ServerIp ..." -ForegroundColor Cyan
Write-Host "If prompted about host authenticity, type yes." -ForegroundColor Yellow
Write-Host "Enter the SSH password when asked." -ForegroundColor Yellow
Write-Host ""

ssh "$ServerUser@$ServerIp"
