Closed abdheshnayak closed 1 week ago
This pull request updates the SSH client to address the insecure-ignore-host-key-use issue. It introduces a new HostKeyCallback function for improved security and modifies the Println function for better string handling.
No diagrams generated as the changes look simple and do not need a visual representation.
Change | Details | Files |
---|---|---|
Implemented a custom HostKeyCallback function for SSH connections |
|
pkg/sshclient/ssh.go |
Refactored the Println function for improved string handling |
|
pkg/functions/print.go |
Summary by Sourcery
Fix the insecure host key usage by implementing a custom HostKeyCallback function to validate hostnames, and enhance the Println function to ensure proper string formatting and output.
Bug Fixes:
Enhancements: