Hallo Holger,
danke für die Motivation. Ich habe die Servereinstellungen geprüft, den Zugriff mit putty gegengecheckt und das Passwort einmal neu eingetragen. Gleicher Fehler, hier die Log:
Code: Alles auswählen
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - SSH - --------------------ACTION: GET PRODUCTS--------------------
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - SSHINFO - Processing action...
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - DEBUG - Establishing ssh shell via user/password authorization
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - DEBUG - Server IP: xx.x.x.x
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - DEBUG - Port no: 22
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - DEBUG - Username: root
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - SSHINFO - Trying to execute command: opsi-admin -r -d method product_getHashes
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - SSHINFO - Start SSH shell with full environment update / no pseudo TTY / no stdout hook
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - ERROR - ConnectionError("Error creating SSH connection --> Original error: ('10.1.0.2', <paramiko.rsakey.RSAKey object at 0x000000000D5396D8>, <paramiko.rsakey.RSAKey object at 0x000000000D539128>)",)
[2020-05-05 04:17:10 PM] - oPB.core.processing.OpsiProcessing - ERROR - Set return code to RET_SSHCONNERR
[2020-05-05 04:17:10 PM] - oPB - DEBUG - Entering excepthook
[2020-05-05 04:17:19 PM] - oPB.gui.startup.StartupDialog - DEBUG - Temporarily hide startup window
[2020-05-05 04:17:20 PM] - oPB.gui.startup.StartupDialog - DEBUG - Show temporarily hidden startup window
Habe den SSH-Fehler erkannt, und mal das Zertifikat neu auf der Admin-Maschine ausgerollt. Hat aber nix gebracht. Auffallen tut mir nur, das wir in den opsi-Einstellungen einen DNS-Namen (backup....) hinterleg haben, das Programm jedoch die IP für die Verbindung nutzt. Habe die Verbindung auch per IP in putty getestet, hier kommt (im Gegensatz zum Namen) tatsächlich eine Sicherheitswarnung, dass der KEY nicht zu dem in der putty Registry hinterlegten passt. Ist aber wohl einfach länger nicht mehr so aufgerufen worden; jetzt kann ich mich ohne Meldung über beide Möglichkeiten per Putty verbinden.
Viele Grüße
Christian Schindler
P.S. Ich beschäftige mich das erste Mal mit dem Package-Builder, hab vorher nur OPSI bedient, Netboot-Produkte und Pakete zugewiesen etc. - mein Ziel ist, ein Bündel für alle unsere standardmäßig installieren Programme zu erstellen.