Chocolatey installieren
https://chocolatey.org/install
Chocolateygui installieren
in Powershell als Administrator:
> choco.exe install chocolateygui
vim ist auch ganz praktisch
> choco.exe install vim
ssh mit Winget installieren
> winget install Microsoft.OpenSSH.Preview
Starte den SSH server
> Start-Service sshd
Starte SSH-Server in Windows automatisch:
> Set-Service -Name sshd -StartupType 'Automatic'
Lasse Port 22 (SSH) durch die Firewall
> New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
Mache ggf. noch Anpassungen in
vim C:\ProgramData\ssh\sshd_config
Hinterlege für Adminnutzer den ssh-key hier:
vim C:\ProgramData\ssh\administrators_authorized_keys
Nun sollte es schon laufen!!
Nun fehlt eigentlich nur noch eine bash
> choco install git
und
> bash
läuft
Schreibe einen Kommentar