Updated enter-host.ps1

This commit is contained in:
Markus Fleschutz
2025-07-14 18:47:00 +02:00
parent 44b6e724e3
commit 8df66a7e83

View File

@ -8,7 +8,7 @@
.EXAMPLE
PS> ./enter-host.ps1 tux
✅ tux is online (3ms latency to 192.168.1.179)
Connecting as user 'markus' using OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
Trying to connect as user 'markus' with OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
markus@tux's password:
...
.LINK
@ -36,7 +36,7 @@ try {
& "$PSScriptRoot/wake-up-host.ps1"
}
Write-Host "Connecting as user '$remoteUser' using " -noNewline
Write-Host "Trying to connect as user '$remoteUser' with " -noNewline
& ssh -V
if ($lastExitCode -ne 0) { throw "'ssh -V' failed with exit code $lastExitCode" }