This page (revision-4) was last changed on 21-Feb-2025 09:59 by Dieter Käppel

This page was created on 12-Feb-2025 16:00 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 21-Feb-2025 09:59 2 KB Dieter Käppel to previous
3 21-Feb-2025 09:48 2 KB Dieter Käppel to previous | to last
2 12-Feb-2025 16:01 1 KB Dieter Käppel to previous | to last
1 12-Feb-2025 16:00 1 KB Dieter Käppel to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 60 removed 22 lines
Die Konfigurationsdatei von SSH liegt unter dem User SYSTEM im Pfad "C:\WINDOWS\System32\config\systemprofile\.ssh". Dort kann man die Einstellungen eintragen:
{{{
Host *
AddressFamily inet
ServerAliveInterval 30
ServerAliveCountMax 5
TCPKeepAlive yes
}}}
__Warnung:__ SSH ist hier ganz pingelig mit den Berechtigungen, wenn AutoSSH unter SYSTEM startet. Owner der Konfigurationsdateien muss SYSTEM sein und es darf niemand Zugriff haben, nicht einmal Administrator.
Fixen der Berechtigungen mit dem Powershell-Script fix.ps1:
{{{
icacls "C:\WINDOWS\system32\config\systemprofile\.ssh\config" /setowner SYSTEM
icacls C:\Windows\system32\config\systemprofile\.ssh\config /remove "Administrator"
icacls C:\Windows\system32\config\systemprofile\.ssh\config /remove "<user>"
}}}
__Hinweis:__ SSH ersetzt localhost gerne mit IPv6 (::1), auch wenn weder IPv6 konfiguriert wurde, ein Host-Eintrag dafür besteht oder überhaupt läuft. AddressFamily inet verhindert das.