Only latest versions of Windows 10 come with built-in SSH client. It's Win32-OpenSSH version of OpenSSH ssh
.
On older Windows versions, you can manually extract Win32-OpenSSH package (do not install the server, just extract the archive and use the included ssh.exe
binary).
Another option on Windows 10 x64 is to install Windows subsystem for Linux. The OpenSSH ssh
is included.
Or use a 3rd party SSH client.
PuTTY is by far the most widely used SSH client for Windows. And easy to install and use.
If you want to automate commands, use Plink. It's a console SSH client. Plink is part of the PuTTY package.
See Best way to script remote SSH commands in Batch (Windows)