displayManualInstructions shows manual configuration instructions
(socketPath string)
| 93 | |
| 94 | // displayManualInstructions shows manual configuration instructions |
| 95 | func displayManualInstructions(socketPath string) { |
| 96 | fmt.Println() |
| 97 | fmt.Println("To use fssh agent manually, add this to your ~/.ssh/config:") |
| 98 | fmt.Println() |
| 99 | fmt.Println(" Host *") |
| 100 | fmt.Printf(" IdentityAgent %s\n", socketPath) |
| 101 | fmt.Println() |
| 102 | fmt.Println("Or set the environment variable:") |
| 103 | fmt.Printf(" export SSH_AUTH_SOCK=%s\n", socketPath) |
| 104 | fmt.Println() |
| 105 | } |