Example of golang.org/x/crypto/ssh usage?


does anyone have a good example of an application using golang.org/x/crypto/ssh?

I’ve been implemeting a small thing to connect to Gerrit’s SSH interface, and I feel I’m reimplemeting a lot of the higher level OpenSSH client (resolving the location of keys, communicating with ssh-agent, etc), so much so, that it’s looking more reasonable to just spawn ssh and use a pipe to communicate with it.

Thank you in advance,


Hopefully this will be some help,

1 Like

Thanks! That helps!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.