I mock Windows but:
apt install ssh-server
(sorry doesn't exist, it's called openssh-server)
apt install openssh-server
(installed)
systemctl enable --now openssh-server
(haha, doesn't exist)
systemctl enable --now sshd
(boo you suck)
systemctl enable --now ssh
(congrats boy)
@1efe3b1d
Yeah, that is not at all confusing...
@1efe3b1d I also have this confusion moving back & forth between Debian and Fedora/RHEL based distros 🤦
@1efe3b1d
systemctl enable --now ss<tab>
systemctl enable --now sshd.service
Yeah, that's it. Enter.
@1efe3b1d afaik it's automatically enabled and started after apt Install :)
@1efe3b1d looked up windows:
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'