After installing latest version of Msys2, I've run pacman -Syuu multiple times. But ssh still doesn't exist, even running:
$ pacman -S ssh
error: target not found: ssh
Doesn't work.
$ pacman -Ss ssh
mingw32/mingw-w64-i686-libssh 0.7.5-1
Library for accessing ssh client services through C libraries (mingw-w64)
mingw32/mingw-w64-i686-libssh2 1.8.0-1 [installed]
A library implementing the SSH2 protocol as defined by Internet Drafts
(mingw-w64)
mingw32/mingw-w64-i686-putty 0.69-1
A free telnet/SSH client (mingw-w64)
mingw32/mingw-w64-i686-putty-ssh 0.0-3
A wrapper around plink with some nice features (mingw-w64)
mingw32/mingw-w64-i686-putty-svn 0.63.r10297-4
A free telnet/SSH client (mingw-w64)
mingw64/mingw-w64-x86_64-libssh 0.7.5-1
Library for accessing ssh client services through C libraries (mingw-w64)
mingw64/mingw-w64-x86_64-libssh2 1.8.0-1
A library implementing the SSH2 protocol as defined by Internet Drafts
(mingw-w64)
mingw64/mingw-w64-x86_64-putty 0.69-1
A free telnet/SSH client (mingw-w64)
mingw64/mingw-w64-x86_64-putty-ssh 0.0-3
A wrapper around plink with some nice features (mingw-w64)
mingw64/mingw-w64-x86_64-putty-svn 0.63.r10297-4
A free telnet/SSH client (mingw-w64)
msys/libssh2 1.8.0-1 (libraries) [installed]
Multi-protocol file transfer library (runtime)
msys/libssh2-devel 1.8.0-1 (development)
Libssh2 headers and libraries
msys/openssh 7.6p1-2 (net-utils) [installed]
Free version of the SSH connectivity tools
msys/ssh-pageant-git 1.4.12.g6f47092-1
An SSH authentication agent for Cygwin/MSYS to PuTTY's Pageant
msys/sshpass 1.06-1 (net-utils)
Fool ssh into accepting an interactive password non-interactively
msys/openssh 7.6p1-2 (net-utils) [installed]
Free version of the SSH connectivity tools
pacman -S openssh
In other words, packages can have different names than you expect. Use pacman -Ss foo to search for foo-related packages.
Most helpful comment