MCPcopy Index your code
hub / github.com/devspace-sh/devspace / configureSSHConfig

Function configureSSHConfig

pkg/devspace/services/ssh/config.go:24–30  ·  view source on GitHub ↗
(host, port string, useInclude bool, log log.Logger)

Source from the content-addressed store, hash-verified

22)
23
24func configureSSHConfig(host, port string, useInclude bool, log log.Logger) error {
25 if useInclude {
26 return configureSSHConfigSeparateFile(host, port, log)
27 }
28
29 return configureSSHConfigSameFile(host, port, log)
30}
31
32func configureSSHConfigSameFile(host, port string, log log.Logger) error {
33 configLock.Lock()

Callers 1

startSSHFunction · 0.85

Calls 2

Tested by

no test coverage detected