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

Function sshConfigPath

internal/sshconfig/writer.go:166–169  ·  view source on GitHub ↗

--- Helper functions ---

()

Source from the content-addressed store, hash-verified

164// --- Helper functions ---
165
166func sshConfigPath() string {
167 home, _ := os.UserHomeDir()
168 return filepath.Join(home, ".ssh", "config")
169}
170
171func backupSSHConfig() (string, error) {
172 configPath := sshConfigPath()

Callers 6

WriteGlobalConfigFunction · 0.85
WriteHostConfigFunction · 0.85
DeleteHostConfigFunction · 0.85
backupSSHConfigFunction · 0.85
readSSHConfigLinesFunction · 0.85
writeSSHConfigLinesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected