mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-01 04:50:52 -05:00
9 lines
249 B
Go
9 lines
249 B
Go
package ssh
|
|
|
|
// An implementation of ssh.ClientPassword so that you can use a static
|
|
// string password for the password to ClientAuthPassword.
|
|
type Password string
|
|
|
|
func (p Password) Password(user string) (string, error) {
|
|
return string(p), nil
|
|
}
|