sense
Elite Observer

RsyncDeployment Modul: Nutzung unter Windows

Ich würde gern wissen inwieweit das RsyncDeploy unter Windows eingesetzt werden kann und was es hier zu beachten gilt, da Windows von Haus aus keine rsync und ssh Commands kennt. Vielleicht ist jemand von Euch in der Lage mir eine Anleitung zur Verfügung zu stellen.

Wichtig ist hierbei auch wo der SSH Private Key abgelegt werden muss, damit FirstSpirit diesen lesen kann.

Folgende Fehler fliegen aktuell bei uns wenn ich versuche ein Deployment zu machen:

INFO  com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": Deployment to domain.tld path: "path/test"

INFO  com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": use ssh agent status : [false]

INFO  com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": external command: 'C:\cygwin\bin\ssh.exe' '-oBatchMode=yes' '-oStrictHostKeyChecking=no' 'user@domain.tld' 'echo' 'success'

ERROR com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": Could not create directory '/home/SYSTEM/.ssh'.

ERROR com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": Failed to add the host to the list of known hosts (/home/SYSTEM/.ssh/known_hosts).

ERROR com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": user@domain.tld: Permission denied (publickey,password,keyboard-interactive).

ERROR com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": failed with exitcode 255 for external command: 'C:\cygwin\bin\ssh.exe' '-oBatchMode=yes' '-oStrictHostKeyChecking=no' 'user@domain.tld' 'echo' 'success'

ERROR com.espirit.ps.custom.rsyncdeploy.RsyncDeployExecutor action "rsync-Deployment": ssh test failed! Deployment not started.

INFO  cancel ScheduleEntry 'Deployment'

0 Kudos
0 Replies