'how get public key from SSHserver during handshake? [closed]

During SSH handshake, client and server should shared their public key. Is there any ways to get the server public key without installing kali tools , just with linux/windows command?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source