openssh server code example
Example 1: openssh client for windows 10
Open powershell with admin and run below cmds:
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Path :
Online : True
RestartNeeded : False
Example 2: openssh server windows
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Path :
Online : True
RestartNeeded : False
Example 3: set up openssh
sudo apt updatesudo apt install openssh-server
Example 4: how to connect my ubuntu server to ssh
ssh [email protected]