diff --git a/helper/ssh/default_key_pair.go b/helper/ssh/default_key_pair.go index 5ea1859c4..e5c68a36d 100644 --- a/helper/ssh/default_key_pair.go +++ b/helper/ssh/default_key_pair.go @@ -4,7 +4,7 @@ type defaultKeyPair struct { } func (o defaultKeyPair) Type() KeyPairType { - return Default + return Default } func (o defaultKeyPair) Bits() int { diff --git a/helper/ssh/dsa_key_pair.go b/helper/ssh/dsa_key_pair.go index 9d20693f5..01f0c7007 100644 --- a/helper/ssh/dsa_key_pair.go +++ b/helper/ssh/dsa_key_pair.go @@ -2,6 +2,7 @@ package ssh import ( "crypto/dsa" + gossh "golang.org/x/crypto/ssh" )