diff --git a/ssh.go b/ssh.go index e00d865..1f0145c 100644 --- a/ssh.go +++ b/ssh.go @@ -30,8 +30,8 @@ type SSHPush []*ssh.Client type SSHSuccess []error -func initializeConnection(config Configuration) (SSHConnection, *ssh.ClientConfig) { - sshConn := SSHConnection{ +func initializeConnection(config Configuration) (*SSHConnection, *ssh.ClientConfig) { + sshConn := &SSHConnection{ Username: config.Username, Password: config.Password, Port: config.Port,