https://github.com/rycerzes/openssh-windows
Powershell files for installation of OpenSSH in Windows.
https://github.com/rycerzes/openssh-windows
powershell script ssh windows
Last synced: 2 months ago
JSON representation
Powershell files for installation of OpenSSH in Windows.
- Host: GitHub
- URL: https://github.com/rycerzes/openssh-windows
- Owner: rycerzes
- License: mit
- Created: 2023-02-16T14:00:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T14:07:34.000Z (almost 3 years ago)
- Last Synced: 2025-01-13T11:16:31.002Z (about 1 year ago)
- Topics: powershell, script, ssh, windows
- Language: PowerShell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenSSH in Windows
[](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3)
[]()
[]()
The Secure Shell (SSH) protocol and the OpenSSH project have been around for decades on Linux. But OpenSSH on Windows hasn’t been embraced in the Windows world until recently. As such, a Windows Server doesn’t typically come pre-built and ready to go and requires some setup.
My wacky brain is too dumb to understand the documentation so i thought of creating `.ps1` files for ease of usage.
This repo has some powershell 7 files which can be run as adminstrator to install OpenSSH in Windows Server/10/11.
This powershell code was written in reference with the [OpenSSH Manual](https://www.openssh.com/manual.html) and the [Microsoft Docs about OpenSSH](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui).
### Prequisites
* A windows machine (host)
* A local machine with `Powershell 7.1`
### Instructions
* Go through all the `.ps1` files before executing any of them
* most of the files require elevated access so it's better to run them as `administrator`
##
**I DO NOT TAKE ANY RESPONSIBILITY FOR ANY PROBLEM IN YOUR DEVICE IF YOU RUN THESE FILES.**