MCPcopy Create free account
hub / github.com/Mister-leo/fssh / displayManualInstructions

Function displayManualInstructions

cmd/fssh/setup_sshconfig.go:95–105  ·  view source on GitHub ↗

displayManualInstructions shows manual configuration instructions

(socketPath string)

Source from the content-addressed store, hash-verified

93
94// displayManualInstructions shows manual configuration instructions
95func 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}

Callers 1

addToSSHConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected