(sshContext ssh.Context)
| 693 | } |
| 694 | |
| 695 | func automaticPrivateKeyPath(sshContext ssh.Context) (string, error) { |
| 696 | sshDir, err := sshContext.SshDir() |
| 697 | if err != nil { |
| 698 | return "", err |
| 699 | } |
| 700 | |
| 701 | return path.Join(sshDir, automaticPrivateKeyName), nil |
| 702 | } |
| 703 | |
| 704 | type cpOptions struct { |
| 705 | sshOptions |
no test coverage detected