Skip to content

Commit

Permalink
Fix GetAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
SmsS4 committed Sep 20, 2023
1 parent 160047f commit 8e7a79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Config struct {
var DefaultTimeout = 20 * time.Second

func GetAuth(host string) (Auth, error) {
auth, err := Key(ssh_config.Get(host, "IdentityFile"), "")
auth, err := Key(getSshConfig(host, "IdentityFile"), "")
if err != nil {
return nil, fmt.Errorf("get key: %w", err)
}
Expand Down

0 comments on commit 8e7a79c

Please sign in to comment.