В Windows 10 и Windows Server 2019 появился встроенный SSH клиент, который вы можете использовать для подключения к *Nix серверам, ESXi хостам и другим устройствам по защищенному протоколу, вместо Putty, MTPuTTY или других сторонних SSH клиентов. Встроенный SSH клиент Windows основан на порте OpenSSH и предустановлен в ОС, начиная с Windows 10 1809.
Содержание:
- Установка клиента OpenSSH в Windows 10
- Как использовать SSH клиенте в Windows 10?
- SCP: копирование файлов из/в Windows через SSH
Установка клиента OpenSSH в Windows 10
Клиент OpenSSH входит в состав Features on Demand Windows 10 (как и RSAT). Клиент SSH установлен по умолчанию в Windows Server 2019 и Windows 10 1809 и более новых билдах.
Проверьте, что SSH клиент установлен:
Get-WindowsCapability -Online | ? Name -like 'OpenSSH.Client*'
В нашем примере клиент OpenSSH установлен (статус: State: Installed).
Если SSH клиент отсутствует (State: Not Present), его можно установить:
- С помощью команды PowerShell:
Add-WindowsCapability -Online -Name OpenSSH.Client* - С помощью DISM:
dism /Online /Add-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0 - Через Параметры -> Приложения -> Дополнительные возможности -> Добавить компонент. Найдите в списке Клиент OpenSSH и нажмите кнопку Установить.
]Бинарные файлы OpenSSH находятся в каталоге c:\windows\system32\OpenSSH\.
- ssh.exe – это исполняемый файл клиента SSH;
- scp.exe – утилита для копирования файлов в SSH сессии;
- ssh-keygen.exe – утилита для генерации ключей аутентификации;
- ssh-agent.exe – используется для управления ключами;
- ssh-add.exe – добавление ключа в базу ssh-агента.
Вы можете установить OpenSSH и в предыдущих версиях Windows – просто скачайте и установите Win32-OpenSSH с GitHub (есть пример в статье “Настройка SSH FTP в Windows”).
Как использовать SSH клиенте в Windows 10?
Чтобы запустить SSH клиент, запустите командную строку
PowerShell
или
cmd.exe
. Выведите доступные параметры и синтаксис утилиты ssh.exe, набрав команду:
ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file]
[-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]
[-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
destination [command]
Для подключения к удаленному серверу по SSH используется команда:
ssh username@host
Если SSH сервер запущен на нестандартном порту, отличном от TCP/22, можно указать номер порта:
ssh username@host -p port
Например, чтобы подключиться к Linux хосту с IP адресом 192.168.1.202 под root, выполните:
ssh [email protected]
При первом подключении появится запрос на добавление ключа хоста в доверенные, наберите yes -> Enter (при этом отпечаток ключа хоста добавляется в файл C:\Users\username\.ssh\known_hosts).
Затем появится запрос пароля указанной учетной записи, укажите пароль root, после чего должна открытся консоль удаленного Linux сервера (в моем примере на удаленном сервере установлен CentOS 8).
С помощью SSH вы можете подключаться не только к *Nix подобным ОС, но и к Windows. В одной из предыдущих статей мы показали, как настроить OpenSSH сервер на Windows 10 и подключиться к нему с другого компьютера Windows с помощью SSH клиента.
Если вы используете SSH аутентификацию по RSA ключам (см. пример с настройкой SSH аутентификации по ключам в Windows), вы можете указать путь к файлу с закрытым ключом в клиенте SSH так:
ssh [email protected] -i "C:\Users\username\.ssh\id_rsa"
Также вы можете добавить ваш закрытый ключ в SSH-Agent. Сначала нужно включить службу ssh-agent и настроить ее автозапуск:
set-service ssh-agent StartupType ‘Automatic’
Start-Service ssh-agent
Добавим ваш закрытый ключ в базу ssh-agent:
ssh-add "C:\Users\username\.ssh\id_rsa"
Теперь вы можете подключиться к серверу по SSH без указания пути к RSA ключу, он будет использоваться автоматически. Пароль для подключения не запрашивается (если только вы не защитили ваш RSA ключ отдельным паролем):
ssh [email protected]
Еще несколько полезных аргументов SSH:
-
-C
– сжимать трафик между клиентом и сервером (полезно на медленных и нестабильных подключениях); -
-v
– вывод подробной информации обо всех действия клиента ssh; -
-R
/
-L
– можно использовать для проброса портов через SSH туннель.
SCP: копирование файлов из/в Windows через SSH
С помощью утилиты scp.exe, которая входит в состав пакета клиента SSH, вы можете скопировать файл с вашего компьютера на SSH сервер:
scp.exe "E:\ISO\CentOS-8.1.1911-x86_64.iso" [email protected]:/home
Можно рекурсивно скопировать все содержимое каталога:
scp -r E:\ISO\ [email protected]:/home
И наоборот, вы можете скопировать файл с удаленного сервера на ваш компьютер:
scp.exe [email protected]:/home/CentOS-8.1.1911-x86_64.iso e:\tmp
Если вы настроите аутентификацию по RSA ключам, то при копировании файлов не будет появляться запрос на ввод пароля для подключения к SSH серверу. Это удобно, когда вам нужно настроить автоматическое копирование файлов по расписанию.
Итак, теперь вы можете прямо из Windows 10 подключаться к SSH серверам, копировать файлы с помощью scp без установки сторонних приложений и утилит.
- OpenSSH for Windows allows you to securely access remote computers with Windows-native tools using the command line interface.
- To install OpenSSH Client and Server on Windows, go to Settings > System > Optional features > View features, search for “OpenSSH“, and continue to install the components.
Windows users normally use the Remote Desktop Protocol to access other Windows devices remotely. As RDP offers a remote graphical user interface (GUI), it is a convenient method for remote access. However, it offers limited functionality, especially if you are a sysadmin. For that purpose, some people prefer to use the Secure Socket Shell (SSH) protocol.
SSH provides a command-line interface to remote computers and servers, and therefore, a more granular control over them. Previously, we used third-party apps like “PuTTY” and “MobaXterm” to develop an SSH connection with the remote devices. However, Microsoft has made a Windows-native SSH client available which can be used instead.
OpenSSH for Windows is a Feature on Demand (FoD) add-on for the Windows operating system. This means that although it is free, it is not installed by default, and needs to be installed manually. If you install it, you can use the SSH protocol through the native command line to access and control the remote computers, provided that your user account has the required privileges.
This guide will show you how to install and use OpenSSH for Windows. These will work on both Windows 11 and Windows 10 (version 1809 and above). Using this guide, you can install both OpenSSH Client and OpenSSH Server in a few easy steps.
Table of Contents
What is OpenSSH
The Secure Socket Shell, or Secure Shell is a networking protocol that allows a remote connection with another device securely. SSH uses a client-server model to communicate with remote computers and ensures data integrity through encryption. It uses multiple layers of the OSI reference model to make sure that the communicated data between the devices is secure.
Originally, OpenSSH was a tool used for remote connection with other devices which comes preinstalled in Linux-based operating systems. Since it is an open-source utility, it has been modified for other platforms, including Windows.
Microsoft has now made “OpenSSH for Windows” available that you can install with a small update package.
Before installing OpenSSH, your system needs to meet a few requirements.
Requirements for OpenSSH for Windows
Before proceeding to install either OpenSSH Client or Server, you must make sure that your PC satisfies the prerequisites, which are:
- OS should be Windows 10 version 1809 or later.
- The PowerShell version should be 5.1 or above
- The user account must be a member of the Administrators group.
To check the OS version, run the following command in the Run Command box:
WinVer
To check the PowerShell version, run the following command in PowerShell:
$PSVersionTable.PSVersion
To check if your user is a member of the Administrators group, run the following command in PowerShell. If it returns “True“, it means that you are a member of the Administrator group.
(New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
Once you have made sure that your PC satisfies these requirements, you may continue to install OpenSSH Client, OpenSSH Server, or both.
Install OpenSSH on Windows
Implement the following steps to install OpenSSH on your Windows computer to access it remotely. Optionally, you can also install “OpenSSH Server” to access this device from another PC using the SSH protocol.
-
Press the Windows key + i to open the Settings app.
-
Click System.
-
Go to “Optional Features“.
Open the optional features settings page -
Click “View features“.
View optional features -
Search for “OpenSSH“.
-
Select “OpenSSH Client” and optionally, “OpenSSH Server“, and then click Next.
Select OpenSSH Client and Server -
Click Install.
Install OpenSSH Client and Server on Windows
After performing these steps, OpenSSH Client (and Server) will be installed on your computer.
Note: These features can take some time to install.
Alternative to the steps above, you can also run the following command in an elevated PowerShell instance to install OpenSSH for Windows:
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
This command will install both OpenSSH Client and OpenSSH Server.
Using OpenSSH Client for Windows
Once OpenSSH Client for Windows has been installed, you can begin using it to connect with remote PCs on the network. Of course, OpenSSH has to be configured on the remote PC first, the method for which has been given below in this post.
First, confirm that it has been installed successfully by running the following command in Command Prompt:
ssh
Once confirmed, you can access a remote PC on the network which has SSH configured using this command:
ssh [Username]@[ServerName]
Note: You may be asked for user credentials if connecting for the first time.
Note that the command above will try to connect to the remote device using the default port, which is 22. If you want to use a different port, then you will need to use this command instead:
ssh [Username]@[ServerName] -p [PortNumber]
Configuring OpenSSH Server for Windows
If you have installed the OpenSSH Server on your Windows PC, you will need to configure it before you can connect to this PC using the SSH protocol.
Configuring the OpenSSH server can be a bit thicker. You need to make sure that it is allowed through the firewall and the proper ports. Therefore, it involves a few steps. Here is what you need to do:
-
First, run the following command in an elevated PowerShell to run the “sshd” service automatically.
Set-Service -Name sshd -StartupType 'Automatic' -
Now start the service with this command:
Start-Service sshd -
Now use the following command to ensure that the SSH server is running and waiting for the connections on port 22:
netstat -na| find ":22" -
Now ensure that the Windows Defender Firewall allows inbound connections to Windows through the TCP port 22 with this command:
Get-NetFirewallRule -Name *OpenSSH-Server* |select Name, DisplayName, Description, EnabledConfirm rules for SSH server connection -
[Conditional] If you find that the rule is missing or disabled, run the following command to create a new inbound rule:
New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 -
To change the default rules for the SSH connection, run the following command in PowerShell which will open the respective OpenSSH file in Notepad:
start-process notepad C:\Programdata\ssh\sshd_config -
Make the necessary changes in the file to manage the permissions, and then save the file using the CTRL + S shortcut keys.
Here are a few examples of the rules:
- Deny domain user:
DenyUsers itt\administrator@192.168.10.10 - Allow a domain group:
AllowGroups itt\sshadmins - Allow local groups:
AllowGroups Administrators
Manage SSH permissions - Deny domain user:
-
After making the changes, run the following command in PowerShell:
restart-service sshd
After performing the steps above, you should be able to connect to this PC using the SSH protocol. For that purpose, use the command ssh [Username]@[ServerName] as discussed above.
Conclusion
With SSH, you do not need to perform a long string of operations to perform a simple task. Instead, you can access it with Windows-native OpenSSH and continue to manage the remote PC using commands. This makes OpenSSH for Windows an excellent utility for network and system administrators.
Introduction:
OpenSSH is a free, open-source, secure remote connections tool from your Windows system. It lets you access servers remotely in a secure manner, transfer files securely, Install OpenSSH on Windows OpenSSH Windows with this step-by-step guide. Follow these simple instructions to set up secure remote connections., all through an encrypted SSH protocol. By the way, whether you work in IT, are a software developer, or want to access your system from afar, OpenSSH is a must.
What is OpenSSH for Windows?
OpenSSH for Windows is an open-source suite of secure networking utilities that lets you establish encrypted connections between your local Windows machine and a remote server. It supports the Secure Shell protocol for safe communication across networks. Users can manage systems, transfer files, and run commands over a network, with security never compromised in these operations.
Thanks to the integration of OpenSSH in Windows, Install OpenSSH on Windows. Whether it’s a developer, an admin of the systems, or just needing remote access, OpenSSH is the perfect tool to reliably and securely interact with different systems across various platforms.
Getting OpenSSH for Windows Started
Getting SSH open and running for Windows has always been challenging. Now, if you have Windows 10 and above, there is good news for you. Open SSH will already be installed natively on your Windows, so you will not be required to download any further applications. Install OpenSSH on Windows from the system settings.
Launch the Apps & Features Settings app and tap on Optional Features. Scroll down to see OpenSSH Client and OpenSSH Server; install these features if Installed OpenSSH Windows. You should now be able to use SSH commands to securely connect to your remote servers, run commands, and transfer files from your Windows terminal.
In-built Commands of OpenSSH for Windows
SSH:
The SSH protocol allows you to connect securely to the remote system and control the remote server from your local machine.
SCP:
SCP securely copies files between local and remote systems, which means it transfers the file with encryption.
SFTP:
It is an FTP-like interface that transfers files securely using SSH for communication.
Ssh-keygen:
Creates the SSH key pair to store your password-free authentication, increasing security for remote logins.
Ssh-agent:
manages and caches private keys so that key-based authentication can be achieved automatically without re-entering keys.
Ssh-add:
Provides your private key to the SSH agent, making it easy to utilize key-based authentication across sessions.
Useful Resources for OpenSSH
Whether you’re new to OpenSSH or just looking to expand your knowledge, you’ll find plenty of resources to help you. An excellent resource is the official documentation from Microsoft, and you want to start there with Install OpenSSH on Windows. You can head directly to Microsoft Docs.
The OpenSSH Project website is another vital resource. It contains detailed information for configuring, advanced usage, and security practices. Specific community support is best gained through forums such as Stack Overflow and GitHub discussions by others using OpenSSH.
Configure OpenSSH Server on Windows
In settings, Go to Settings > Apps & Features > Optional Features. Scroll down to find the OpenSSH Server and tap on Install if it has not been enabled already.
Start OpenSSH Service
Once installed, open services by typing them. msc into your search bar. Tap on OpenSSH Server, right-click, and select the Start option. Alternatively, you can configure it to Automatic to automatically start when Windows starts.
Open Windows Firewall, click Advanced Settings and select Inbound Rules. You will now create a new rule allowing traffic through Port 22, the default SSH port.
Configure SSH settings
Open sshd_config located at C:\\ ProgramData\\ssh. Here, you can set settings such as the authentication methods, port number, and root login permissions to suit your needs.
Test SSH Connection:
Use the following command in another machine to check whether your server is correctly configured and accepts connections: ssh username@your_ip_address.
Uninstall OpenSSH from Windows
Open Settings:
You will need to open the Settings application on your Windows computer. Access is possible through the Start menu by clicking on the gear icon.
Go to Apps:
Now, in the window for Settings, click on Apps > Optional Features. This is a list of features on your system that have been installed.
Locate OpenSSH:
Scroll down this list to find OpenSSH Client and OpenSSH Server. You can safely remove both if you want to remove the OpenSSH features altogether.
Key-Based Authentication with OpenSSH on Windows
Create SSH Key Pair
Open a command prompt or PowerShell window and type ssh-keygen. This will guide you through accepting a location for your key (the defaults are usually fine) and, optionally, input a passphrase to lock it down further.
Locate Your Public Key:
Once you have generated your key pair, find your user profile – e.g., this could be C:\Users\YourUsername\.ssh\, where you’ll find your public key file, id_rsa.pub.
Copy Your Public Key to the Server
You’ll use the ssh-copy-id username@your_server_ip command to copy your public key to the remote server. This will prompt you to enter your password and add the key to ~/.ssh/authorized_keys on the server.
Edit SSH Configuration if Needed
For other key-based authentication in your server, edit the file C:\ ProgramData\ ssh\ sshd_config if it requires any specific configuration. Do not forget to set PubkeyAuthentication and AuthorizedKeysFile .ssh/authorized_keys to yes:
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
Test Key-Based Authentication:
When you attempt to connect to your server using the SSH username@your_server_ip command, if everything is done correctly, you will enter your server without typing your password!
How to Install and Activate OpenSSH for Windows
Open Settings:
Click on the Settings button from the Start menu or use the Windows + I keyboard shortcut to open it.
Go to Apps:
In the Settings window, click on Apps and then click on Optional features. This is the place where you can control additional features that Windows offers.
Add a Feature:
At the top right, click Add a feature. This will bring up a list of optional features available for installation.
Locate OpenSSH Client and Server:
Scroll through the list to find both OpenSSH Client and OpenSSH Server. You can use the search bar to get results faster.
Install OpenSSH:
Select both OpenSSH Client and OpenSSH Server, then click Install and wait a few moments for the installation to complete.
Enabling the OpenSSH Client on Windows 10
Access Settings:
Instead of searching for it in the start menu, you can tap the Windows key + I keys to open it quickly.
Apps:
In the Settings window, click on Apps. This will take you to the apps and features section.
Optional Features:
On the left sidebar, click Optional Features to see what features are installed on your Windows system.
Add a Feature:
Click the button at the top and add a feature. This will lead to a drop-down menu with a list of all features that you may install on your system.
OpenSSH Client:
Search through the list for OpenSSH Client or use the search bar. It should be included in the list of optional features.
How to Log in to Windows Server via SSH
Step 1. Open Command Prompt or PowerShell
Open the Command Prompt or PowerShell from your local machine. You can search for “cmd” or “PowerShell” within the Start menu.
Step 2.Execute the SSH Command
Execute the SSH command by the syntax shown below:
ssh username@server_ip
Here, replace the username with your actual username on your Windows Server and the server_ip with the actual server’s IP address or its hostname.
Enter Your Password:
After typing the command, you will be prompted to enter your password. Enter your password and then tap the Enter key. Be aware that, for security reasons, you won’t see characters appear on your screen as you type them.
Accept the Host Key:
You may be prompted to accept the server host key the first time you connect. You have to answer yes and then enter. This will ask once for a secure connection.
Access the Server:
Once authenticated, you will be logged into the Windows Server through SSH. From here, you can execute your commands or manage the server as necessary.
Conclusion:
One of the benefits of adopting OpenSSH in Windows is improving your computing experience. You will, hence, easily control your servers from a distance while transferring files without losing security. You are thus able to have key-based authentication and secure tunneling. Key features, such as powerful functionality in the routine workflow under OpenSSH, are enjoyed.
FAQs:
What is OpenSSH?
OpenSSH is a set of tools for accessing and running applications remotely over a network on other computers and servers. This suite provides encryption to ensure safe communication when transmitting data.
How do I get OpenSSH installed for Windows?
You can get OpenSSH from the Settings application. First, go to Settings > Apps > Optional features and then click the Add a feature under it to find and install OpenSSH Client and Server.
Can I use OpenSSH when no internet is available?
Absolutely, since once installed, one may use OpenSSH without an internet connection for a local connection. However, remote connections would require an internet or network connection.
What are the options or commands available on OpenSSH?
Some of the built-in commands available in the tool include the command SSH to access the server, SCP to securely transfer files between computers, and sftp, which can be used for file management.
Is OpenSSH safe?
Absolutely! OpenSSH implements robust encryption protocols, so you know the connection is safe, and you are truthful-you can trust it for access and file transfers from elsewhere.
Latest post:
- How to convert the putty key to openssh windows?
- How to openssh via terminal windows?
- How to change default sftp location in openssh windows?
- What is the difference between OpenSSH and PuTTY?
- How to Install OpenSSH on Windows?
Как вы уже знаете, Windows 10 включает в себя встроенное программное обеспечение SSH — как клиент, так и сервер! Это очень полезно, когда вам нужно быстро получить доступ к серверу Linux. Все может быть сделано всего за несколько кликов, без установки дополнительного программного обеспечения.
На компьютерах с Windows, бесплатное ПО PuTTY является стандартом де-факто, когда дело доходит до SSH и Telnet. В Windows 10 Microsoft, наконец, прислушалась к просьбам пользователей после нескольких лет ожиданий, Microsoft добавила поддержку протокола OpenSSH в версии обновления Fall Creators.
На момент написания статьи программное обеспечение OpenSSH, включенное в Windows 10, находится на стадии BETA. Это означает, что у него могут быть небольшие проблемы с стабильностью.
Предоставленный клиент SSH похож на клиент Linux. На первый взгляд, он поддерживает те же функции, что и его аналог * NIX. Это консольное приложение, поэтому вы можете запустить его с помощью командной строки. Давайте включим его.
Как включить клиент OpenSSH в Windows 10.
- Откройте приложение «Параметры» и перейдите в «Приложения» → «Приложения и возможности».
- Справа нажмите «Управление дополнительными компонентами».
- На следующей странице нажмите кнопку «Добавить компонент».
- В списке компонентов выберите OpenSSH Client и нажмите кнопку «Установить».
Включить клиент OpenSSH в Windows 10
Это установит клиентское ПО OpenSSH в Windows 10. Его файлы находятся в папке c:\windows\system32\Openssh. Помимо клиента SSH, папка содержит следующие клиентские инструменты:
- scp.exe
- sftp.exe
- SSH-add.exe
- SSH-agent.exe
- SSH-keygen.exe
- ssh.exe
- и конфигурационный файл «sshd_config».
- Перезагрузите Windows 10, В противном случае вам придется ввести полный путь к этим файлам, чтобы использовать их.
Попытка запустить ssh без перезапуска приводит к этой типичной ошибке.
PS C:\> ssh
sshd : The term ‘ssh’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ sshd
+ ~~~~
+ CategoryInfo : ObjectNotFound: (ssh:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
После того, как вы перезагрузили, результат стал более обнадеживающим.
PS C:\> ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file]
[-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]
[-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
[user@]hostname [command]
Также вы можете установить клиент SSH с помощью PowerShell.
Откройте PowerShell от имени Администратора и выполните следующую команду и перезагрузите систему:
Get-WindowsCapability -Online | Where-Object{$_.Name -like “OpenSSH.Client*”}
Теперь вы можете попробовать SSH в действии.
- Откройте новое окно командной строки.
- Введите команду ssh, используя следующий синтаксис:
Например подключение к серверу CentOS 7
ssh username@171.16.1.10
Результат будет следующим:
ssh username@171.16.1.10
The authenticity of host ‘171.16.1.10 (171.16.1.10)’ can’t be established.
ED42519 key fingerprint is SHA256:REMOVED.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘171.16.1.10’ (ED42519) to the list of known hosts.
username@171.16.1.10’s password:
Last login: Tue Oct 31 00:23:33 2017 from 10.22.202.6
[username@centos ~]$ uname -a
Linux centos 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Встроенный клиент почти идентичен традиционному SSH-клиенту из пакета OpenSSH, доступного в Linux. И имеет ту же самую консоль. Это очень полезно, когда вам нужно изменить какой-либо параметр конфигурации или перезапустить демон. Если вы используете для управления ПК Linux из командной строки, вы найдете это полезным.
Тем не менее, есть еще много ситуаций, когда добрый старый PuTTY выигрывает гонку. Как по мне, встроенное ПО OpenSSH хорошо работает для базовых функций, если вы не хотите устанавливать PuTTY на ПК. Это также полезно, если вы профессиональный пользователь Linux, который наизусть знает все параметры клиента SSH.
On older versions of Windows, i.e. Windows Vista, 7, and 8/8.1, getting SSH running wasn’t easy. You had to do quite a bit to set it up. This was true for Windows 10 up to the Creators Update. The Fall Creators Update is a different story though; you can now install OpenSSH on Windows 10 as an optional feature. You can install both the OpenSSH client, and the OpenSSH Server.
Open the Settings app and go to the Apps group of settings.
Go to the Apps & features tab and click ‘Manage optional features’.
The Manage Optional Features screen only lists language packs. To view other features that you can install, click the Add a Feature button.
Look for the OpenSSH Client or OpenSSH Server feature. Click it, and click the Install button. Wait for it to install and that’s about it. You can install either one or both OpenSSH client and OpenSSH Server using this same method. We should mention that it is in Beta so expect the usual bugs that you can expect from Microsoft.
You will have additional things to set up, but OpenSSH is there and you can use SSH now to securely connect to a server, among other things.
Uninstall OpenSSH
To uninstall OpenSSH on Windows 10, open the Settings app and go to Apps>Apps & features. Click Manage options features again. This time, scan the list of installed optional features i.e. the list that normally shows you the language packs that can be installed. OpenSSH both sever and client will appear here if they’re installed. Click it and click the Uninstall button.
Given both OpenSSH client and server are in beta, you can expect bugs but you should also be prepared for a lesser product offering. Most users will likely compare it to Putty and it doesn’t stack up just yet.
The Fall Creators Update arrived this October so this feature is more or less still in its very early stages, its infancy if you will. That’s both good and bad. Bad because it mean bugs and limited functionality and good because it means users can hope for improvements and they can hope that one day it will stack up again Putty.
The team at Microsoft responsible for developing OpenSSH has a rough road map that might give you an idea on what to expect. Mind you, this road map isn’t the most recent. Windows 10 has had support for SSH for a while now but before the Fall Creators Update, users who wanted to install OpenSSH on Windows 10 had to install it via Github. If you still haven’t upgraded to the Fall Creators Update, or you’re interested in trying the most recent versions of OpenSSH, you can do so from the project’s Github page.
Fatima Wahab
Fatima has been writing for AddictiveTips for six years. She began as a junior writer and has been working as the Editor in Chief since 2014.
Fatima gets an adrenaline rush from figuring out how technology works, and how to manipulate it. A well-designed app, something that solves a common everyday problem and looks
