mirror of
https://github.com/kairos-io/provider-kairos.git
synced 2025-09-09 02:42:11 +00:00
Bump to go1.22 (#594)
This commit is contained in:
@@ -84,7 +84,7 @@ func sshServer(listenAdddr, password string) {
|
||||
}
|
||||
})
|
||||
|
||||
pterm.Info.Println(ssh.ListenAndServe(listenAdddr, nil, ssh.PasswordAuth(func(ctx ssh.Context, pass string) bool {
|
||||
pterm.Info.Println(ssh.ListenAndServe(listenAdddr, nil, ssh.PasswordAuth(func(_ ssh.Context, pass string) bool {
|
||||
return pass == password
|
||||
}),
|
||||
))
|
||||
|
Reference in New Issue
Block a user