(address string)
| 92 | } |
| 93 | |
| 94 | func formatAddress(address string) string { |
| 95 | if _, _, err := net.SplitHostPort(address); err != nil { |
| 96 | address += ":22" |
| 97 | } |
| 98 | return address |
| 99 | } |
| 100 | |
| 101 | // Shell implements a remote shell to an SSH server using x/crypto/ssh |
| 102 | type Shell struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…