Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SSH Client

Direct answer

The built-in Windows SSH client (ssh.exe) connects to Linux and network devices and Windows OpenSSH servers, supports keys created with ssh-keygen and reads its config from %USERPROFILE%\.ssh\config.

When to use this

Use this when connecting from Windows to SSH servers or devices.

First 30 seconds

1. ssh -V.

2. ssh -v user@host.

3. Keys in %USERPROFILE%\.ssh; agent: Get-Service ssh-agent.

4. known_hosts warnings verified.

5. Config in ~/.ssh/config.

Operational verification

ssh client → host key check → key auth → session

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows networking and network services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows networking and network services
Scope / prerequisiteUse this when connecting from Windows to SSH servers or devices.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Keys without passphrase on shared machines.
Step 2 Where it fails Narrow the fault

Failure analysis for Remote Access → SSH Client follows the Windows chain of components: host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • ssh.exe is built into Windows 10 and later.
  • Create keys with ssh-keygen.
  • Host settings go in %USERPROFILE%\.ssh\config.
Key checks
  • Test-NetConnection <host> -Port 3389 — RDP port
  • Get-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections — RDP enabled (0)
  • Test-WSMan <host> — WinRM
  • Get-Service sshd — OpenSSH server
ReferenceImportant terms & boundaries2 sections · depth on demand

Commands

ssh user@host
ssh-keygen -t ed25519
Get-Service ssh-agent | Set-Service -StartupType Automatic
ssh-add $env:USERPROFILE\.ssh\id_ed25519

Documented example, not captured output.

In depth

The OpenSSH client is installed by default on Windows 10 1809+ and Server 2019+:

ssh ops@linux01
ssh -J bastion.corp.example.com ops@10.0.30.15         # jump host
scp .\report.csv ops@linux01:/tmp/
ssh-keygen -t ed25519 -C "alice@corp"
Get-Service ssh-agent | Set-Service -StartupType Automatic; Start-Service ssh-agent; ssh-add $env:USERPROFILE\.ssh\id_ed25519

Config file: %USERPROFILE%\.ssh\config (Host blocks, IdentityFile, ProxyJump), same syntax as on Linux.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows networking and network services current

Authoritative/upstream documentation reviewed for bounded claims in Remote Access → SSH Client. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/ · confidence 94%
Confirmation

Confirm action

Continue?