Hello Gophers,
Disclaimer: I'm not a software developper.
I'm new to Go and I'm working on a pet project using the crypto/ssh package (client side). As part of this project, I'd like to retrieve the remote SSH server information (version, keys) like the ssh-keyscan binary does. So far my research brought me 0 results so I'm starting to think either no one is interested in this or this is not possible.
So my question is: is it possible to retrieve this information with the current crypto/ssh package, maybe by adding some methods to the existing code? Or do you guys think it's not worth the hassle and I'd better execute the ssh-keyscan within my Go code and move on ?
Thanks for your feedback!
Cheers,
Pierre