OpenSSH is a powerful tool for secure remote connections. You can enable OpenSSH Server and Client on Windows 11 using **Settings** or **PowerShell**.
Using Settings
- Open Settings (
Win + I
). - Go to Apps > Optional Features.
- Click Add a feature and search for OpenSSH Client and OpenSSH Server.
- Select both and click Install.
- Once installed, restart your computer.
Using PowerShell
- Open **PowerShell** as Administrator.
- Run the following commands:
- Start the SSH service:
- Verify SSH is running:
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'
Get-Service sshd
Once enabled, you can use ssh
commands in PowerShell or CMD to connect to remote machines. Let me know if you need help configuring SSH keys or firewall rules! 🚀
For more details, check Microsoft’s guide or this tutorial.
No comments:
Post a Comment