Close finalizes the connection.
()
| 154 | |
| 155 | // Close finalizes the connection. |
| 156 | func (s *Shell) Close() error { |
| 157 | return s.client.Close() |
| 158 | } |
| 159 | |
| 160 | // Run runs cmd on the remote host. |
| 161 | func (s *Shell) Run(cmd string) error { |
no outgoing calls