QuackatronHQ / Gigarepo

Audit the use of ssh.InsecureIgnoreHostKey function GSC-G106
Security
Minor
5 days ago2 years old
Use of ssh InsecureIgnoreHostKey should be audited
65	config := ssh.ClientConfig{
66		User:            user,
67		Auth:            auths,
68		HostKeyCallback: ssh.InsecureIgnoreHostKey(),69	}
70
71	addr := fmt.Sprintf("%s:%d", ipAddr, port)
Use of ssh InsecureIgnoreHostKey should be audited
65	config := ssh.ClientConfig{
66		User:            user,
67		Auth:            auths,
68		HostKeyCallback: ssh.InsecureIgnoreHostKey(),69	}
70
71	addr := fmt.Sprintf("%s:%d", ipAddr, port)