[Gelöst] Fehler Beim verbindungsaufbau
Verfasst: 25 Okt 2017, 10:53
Hallo,
ich habe mich in den Threads eingelesen aber nichts helfendes gefunden
Ich nutze die opsivm4079 und den OPB 8.2.1 unter Windows mit der *.exe installiert.
Habe ich in die sshd_config eingefügt und ssh neu gestartet. Das Passwort vom adminuser bereits geändert (passwd adminuser und smbpasswd -a adminuser)
Weiterhin habe ich das Logging auf debug gestellt.
Folgende Fehler kann ich erkennen:
Wenn ich ein service ssh status eingebe bekomme ich folgende Meldung:
Die /etc/ssh/ssh_host_dsa_key fehlt, kann es damit zusammen hängen?
VG
Krodon
ich habe mich in den Threads eingelesen aber nichts helfendes gefunden
Ich nutze die opsivm4079 und den OPB 8.2.1 unter Windows mit der *.exe installiert.
Code: Alles auswählen
Ciphers aes256-ctr,aes128-ctr
# DEAKTIVIERT:
#MACs hmac-sha2-512,hmac-sha2-256,hmac-ripemd160
KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
Weiterhin habe ich das Logging auf debug gestellt.
Code: Alles auswählen
[2017-10-25 10:38:58 AM] - oPB.core.processing.OpsiProcessing - SSH - --------------------ACTION: QUICKINSTALL--------------------
[2017-10-25 10:38:58 AM] - oPB.core.processing.OpsiProcessing - SSH - Copy file: B:/office2010standard_14-15.opsi --> /tmp/office2010standard_14-15.opsi
[2017-10-25 10:38:58 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Copying file: B:/office2010standard_14-15.opsi (local) to /tmp/office2010standard_14-15.opsi (remote)
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Establishing ssh shell via user/password authorization
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Server IP: 192.168.114.200
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Port no: 22
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Username: adminuser
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - SSHINFO - Processing action...
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - SSHINFO - Create process running marker file in project directory
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - SSH - Could not copy file to remote destination.
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - ERROR - PermissionError(13, 'Permission denied')
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - ERROR - Set return code to RET_SSHCONNERR
[2017-10-25 10:38:59 AM] - oPB.controller.main.MainWindowController - DEBUG - Exitcode after job processing: 25
[2017-10-25 10:46:05 AM] - oPB.gui.mainwindow.MainWindow - DEBUG - Set button state
[2017-10-25 10:46:05 AM] - oPB.gui.splash.Splash - DEBUG - Hide splash
[2017-10-25 10:46:05 AM] - oPB.gui.splash.Splash - DEBUG - Hide splash
[2017-10-25 10:46:05 AM] - oPB.gui.startup.StartupDialog - DEBUG - Show startup window and deactivate main
[2017-10-25 10:46:10 AM] - oPB.gui.startup.StartupDialog - DEBUG - Temporarily hide startup window
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: line: 0, func: None(), file: None
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: WARNING: QWindowsWindow::setGeometry: Unable to set geometry 778x503+-1020+249 on QWidgetWindow/'SettingsWindow'. Resulting geometry: 778x541+-1020+249 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 657x502, maximum size: 16777215x16777215).
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: line: 0, func: None(), file: None
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: WARNING: QWindowsWindow::setGeometry: Unable to set geometry 778x503+-1020+249 on QWidgetWindow/'SettingsWindow'. Resulting geometry: 778x541+-1020+249 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 657x502, maximum size: 16777215x16777215).
[2017-10-25 10:47:36 AM] - oPB.gui.startup.StartupDialog - DEBUG - Show temporarily hidden startup window
[2017-10-25 10:54:15 AM] - oPB.controller.main.MainWindowController - DEBUG - Close project
[2017-10-25 10:54:15 AM] - oPB.controller.main.MainWindowController - DEBUG - Reset main window
[2017-10-25 10:54:15 AM] - oPB.core.datadefinition.ControlFileData - DEBUG - Emit dataLoaded(True)
[2017-10-25 10:54:15 AM] - oPB.controller.main.MainWindowController - DEBUG - Retrieved backend data loaded status: True
[2017-10-25 10:54:15 AM] - oPB.controller.main.MainWindowController - DEBUG - Update field model data
[2017-10-25 10:54:15 AM] - oPB.controller.main.MainWindowController - DEBUG - Update table model data: model_dependencies
[2017-10-25 10:54:15 AM] - oPB.controller.main.MainWindowController - DEBUG - Update table model data: model_properties
[2017-10-25 10:54:15 AM] - oPB.controller.main.MainWindowController - DEBUG - Emit signal modelDataUpdated
[2017-10-25 10:54:15 AM] - oPB.gui.mainwindow.MainWindow - DEBUG - Reset datamapper and display
[2017-10-25 10:54:15 AM] - oPB.gui.mainwindow.MainWindow - DEBUG - Update property fields
[2017-10-25 10:54:15 AM] - oPB.gui.mainwindow.MainWindow - DEBUG - Update dependency fields
[2017-10-25 10:54:15 AM] - oPB.gui.startup.StartupDialog - DEBUG - Temporarily hide startup window
[2017-10-25 10:54:16 AM] - oPB.core.confighandler.ConfigHandler - DEBUG - Configuration successfully saved: C:\Users\if4839_a\AppData\Roaming\opsiPackageBuilder\config-new.ini
[2017-10-25 10:54:16 AM] - oPB.controller.main.MainWindowController - DEBUG - Emit closeAppRequested
[2017-10-25 10:54:16 AM] - oPB - INFO - Exit code: 25
Code: Alles auswählen
[2017-10-25 10:38:58 AM] - --------------------ACTION: QUICKINSTALL--------------------
[2017-10-25 10:38:58 AM] - Copy file: B:/office2010standard_14-15.opsi --> /tmp/office2010standard_14-15.opsi
[2017-10-25 10:38:59 AM] - Processing action...
[2017-10-25 10:38:59 AM] - Create process running marker file in project directory
[2017-10-25 10:38:59 AM] - Could not copy file to remote destination.
[2017-10-25 10:38:59 AM] - PermissionError(13, 'Permission denied')
[2017-10-25 10:38:59 AM] - Set return code to RET_SSHCONNERR
[2017-10-25 10:46:10 AM] - Qt framework message handler: line: 0, func: None(), file: None
[2017-10-25 10:46:10 AM] - Qt framework message handler: WARNING: QWindowsWindow::setGeometry: Unable to set geometry 778x503+-1020+249 on QWidgetWindow/'SettingsWindow'. Resulting geometry: 778x541+-1020+249 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 657x502, maximum size: 16777215x16777215).
[2017-10-25 10:46:10 AM] - Qt framework message handler: line: 0, func: None(), file: None
[2017-10-25 10:46:10 AM] - Qt framework message handler: WARNING: QWindowsWindow::setGeometry: Unable to set geometry 778x503+-1020+249 on QWidgetWindow/'SettingsWindow'. Resulting geometry: 778x541+-1020+249 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 657x502, maximum size: 16777215x16777215).
Code: Alles auswählen
[2017-10-25 10:38:58 AM] - oPB.core.processing.OpsiProcessing - SSH - Copy file: B:/office2010standard_14-15.opsi --> /tmp/office2010standard_14-15.opsi
[2017-10-25 10:38:58 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Copying file: B:/office2010standard_14-15.opsi (local) to /tmp/office2010standard_14-15.opsi (remote)
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Establishing ssh shell via user/password authorization
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Server IP: 192.168.114.200
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Port no: 22
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - DEBUG - Username: adminuser
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - SSHINFO - Processing action...
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - SSHINFO - Create process running marker file in project directory
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - SSH - Could not copy file to remote destination.
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - ERROR - PermissionError(13, 'Permission denied')
[2017-10-25 10:38:59 AM] - oPB.core.processing.OpsiProcessing - ERROR - Set return code to RET_SSHCONNERR
[2017-10-25 10:38:59 AM] - oPB.controller.main.MainWindowController - DEBUG - Exitcode after job processing: 25
[2017-10-25 10:46:05 AM] - oPB.gui.mainwindow.MainWindow - DEBUG - Set button state
[2017-10-25 10:46:05 AM] - oPB.gui.splash.Splash - DEBUG - Hide splash
[2017-10-25 10:46:05 AM] - oPB.gui.splash.Splash - DEBUG - Hide splash
[2017-10-25 10:46:05 AM] - oPB.gui.startup.StartupDialog - DEBUG - Show startup window and deactivate main
[2017-10-25 10:46:10 AM] - oPB.gui.startup.StartupDialog - DEBUG - Temporarily hide startup window
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: line: 0, func: None(), file: None
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: WARNING: QWindowsWindow::setGeometry: Unable to set geometry 778x503+-1020+249 on QWidgetWindow/'SettingsWindow'. Resulting geometry: 778x541+-1020+249 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 657x502, maximum size: 16777215x16777215).
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: line: 0, func: None(), file: None
[2017-10-25 10:46:10 AM] - oPB - WARNING - Qt framework message handler: WARNING: QWindowsWindow::setGeometry: Unable to set geometry 778x503+-1020+249 on QWidgetWindow/'SettingsWindow'. Resulting geometry: 778x541+-1020+249 (frame: 4, 23, 4, 4, custom margin: 0, 0, 0, 0, minimum size: 657x502, maximum size: 16777215x16777215).
[2017-10-25 10:47:36 AM] - oPB.gui.startup.StartupDialog - DEBUG - Show temporarily hidden startup window
Code: Alles auswählen
C:\Program Files (x86)\opsi PackageBuilderNG\paramiko\client.py:711: UserWarning: Unknown ssh-ed25519 host key for 192.168.114.200: b'f79b5986e4445b5fa4651a4ba3b6191b'
Code: Alles auswählen
root@opsiserver:/home/opsiproducts# service ssh status
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Mi 2017-10-25 12:50:06 CEST; 3s ago
Main PID: 12525 (sshd)
CGroup: /system.slice/ssh.service
└─12525 /usr/sbin/sshd -D
Okt 25 12:50:06 opsiserver systemd[1]: Starting OpenBSD Secure Shell server...
Okt 25 12:50:06 opsiserver sshd[12525]: Could not load host key: /etc/ssh/ssh_host_dsa_key
Okt 25 12:50:06 opsiserver sshd[12525]: Server listening on 0.0.0.0 port 22.
Okt 25 12:50:06 opsiserver sshd[12525]: Server listening on :: port 22.
Okt 25 12:50:06 opsiserver systemd[1]: Started OpenBSD Secure Shell server.
VG
Krodon