[ssh] Compute protocol from input address

Local testing fails because the given input address for a Fuchsia device
(ipv6) returns "udp" as its `Network()`.  The ssh handshake hangs forever
when this protocol used.  We'll stick with tcp and tcp6 for now and expect
that all input address are ipv4 and ipv6 addresses.

Change-Id: I42b7ebd3b98aa669654901fe5869a9f5efb20021
2 files changed
tree: f809cb031d4eb5e8ce879e401bf71b1bb44231dd
  1. bloaty/
  2. botanist/
  3. build/
  4. cache/
  5. cmd/
  6. color/
  7. digest/
  8. elflib/
  9. fastboot/
  10. gndoc/
  11. isatty/
  12. logger/
  13. mdns/
  14. netboot/
  15. ninjalog/
  16. pdu/
  17. qemu/
  18. retry/
  19. runtests/
  20. secrets/
  21. serial/
  22. symbolize/
  23. telnet/
  24. testrunner/
  25. testsharder/
  26. tftp/
  27. .gitignore
  28. go.mod
  29. go.sum
  30. LICENSE
  31. manifest
  32. PATENTS
  33. README.md
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"