]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - cmd/safcm/sync.go
config: add Host option "ssh_user"
[safcm/safcm.git] / cmd / safcm / sync.go
index 09ffe854e1e7491727882f963a894ff9c801994e..7f1e090593b6c42dd14f028de056dd24990c9812 100644 (file)
@@ -310,7 +310,7 @@ func (s *Sync) Host(wg *sync.WaitGroup) error {
        }()
 
        // Connect to remote host
-       err := conn.DialSSH(s.host.Name)
+       err := conn.DialSSH(s.host.SshUser, s.host.Name)
        if err != nil {
                return err
        }