In this case, we can either force a remote SSH client to connect to us through a certain port, such as the SSH standard port, or wait for an incoming connection
Regardless of how we receive the connection and its subsequent authentication, it would be interesting to view the plain credentials of any client that authenticates against our SSH server
The caveat is that this is not possible with the default configuration of the standard OpenSSH server
However, we can set up either a MITM tool that listens for incoming authentications on the SSH port ( e.g. TCP Port 22 ) and redirects them to the OpenSSH server, such as SSH-MITM, or a honeypot SSH Server that receives authentications and emulates a UNIX system in high interaction mode, such as Cowrie