()
| 326 | } |
| 327 | |
| 328 | func (c *SecureShell) terminalType() string { |
| 329 | term := os.Getenv("TERM") |
| 330 | if term == "" { |
| 331 | term = "xterm" |
| 332 | } |
| 333 | return term |
| 334 | } |
| 335 | |
| 336 | func sha256Fingerprint(key ssh.PublicKey, encode bool) string { |
| 337 | sum := sha256.Sum256(key.Marshal()) |
no outgoing calls
no test coverage detected