| 11 | ) |
| 12 | |
| 13 | type Session struct { |
| 14 | User string |
| 15 | Host string |
| 16 | Port string |
| 17 | Command string |
| 18 | Subsystem string |
| 19 | PublicKey string |
| 20 | RemoteAddr string |
| 21 | } |
| 22 | |
| 23 | func NewSession(s ssh.Session) *Session { |
| 24 | user := s.User() |
nothing calls this directly
no outgoing calls
no test coverage detected