fix: SSH to older switches offering only ssh-rsa/ssh-dss host keys; split switch result filters into two rows
Paramiko 4+ removed ssh-rsa (SHA-1) and ssh-dss; pin to 3.x so switches like the LANCOM GS-2326P+ can be reached again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
e9e1783360
commit
2092f41624
2 files changed
+11
-5
No files matched your search
@@ -109,15 +109,21 @@ class SwitchesPage(Page):
|
|||||||
tooltip="Hängt die laufende Konfiguration als Textdatei an das NetBox-Gerät "
|
tooltip="Hängt die laufende Konfiguration als Textdatei an das NetBox-Gerät "
|
||||||
"(Plugin netbox-attachments). Passwörter, Schlüssel und Communities "
|
"(Plugin netbox-attachments). Passwörter, Schlüssel und Communities "
|
||||||
"werden entfernt; ein neuer Anhang entsteht nur bei Änderungen.")
|
"werden entfernt; ein neuer Anhang entsteht nur bei Änderungen.")
|
||||||
|
# Two rows: filters for the table, then the options of the NetBox transfer.
|
||||||
|
filters.setSpacing(12)
|
||||||
filters.addWidget(self.search, 2)
|
filters.addWidget(self.search, 2)
|
||||||
filters.addWidget(self.switch_filter, 1)
|
filters.addWidget(self.switch_filter, 1)
|
||||||
filters.addWidget(self.only_up)
|
filters.addWidget(self.only_up)
|
||||||
filters.addWidget(self.only_neighbors)
|
filters.addWidget(self.only_neighbors)
|
||||||
filters.addStretch(1)
|
|
||||||
filters.addWidget(self.cables_option)
|
|
||||||
filters.addWidget(self.update_cables_option)
|
|
||||||
filters.addWidget(self.backup_option)
|
|
||||||
result_card.add(filters)
|
result_card.add(filters)
|
||||||
|
options = QHBoxLayout()
|
||||||
|
options.setSpacing(16)
|
||||||
|
options.addWidget(label("Übertragen:", muted=True))
|
||||||
|
options.addWidget(self.cables_option)
|
||||||
|
options.addWidget(self.update_cables_option)
|
||||||
|
options.addWidget(self.backup_option)
|
||||||
|
options.addStretch(1)
|
||||||
|
result_card.add(options)
|
||||||
result_columns = [
|
result_columns = [
|
||||||
Column("switch", "Switch", 140),
|
Column("switch", "Switch", 140),
|
||||||
Column("name", "Schnittstelle", 150),
|
Column("name", "Schnittstelle", 150),
|
||||||
|
|||||||
+1
-1
@@ -2,5 +2,5 @@ PySide6-Essentials>=6.7
|
|||||||
pynetbox>=7.4
|
pynetbox>=7.4
|
||||||
pyvmomi>=8.0
|
pyvmomi>=8.0
|
||||||
requests>=2.31
|
requests>=2.31
|
||||||
paramiko>=3.4
|
paramiko>=3.4,<4 # 4.x+ dropped ssh-rsa (SHA-1) and ssh-dss host keys used by older switches (e.g. LANCOM GS-23xx)
|
||||||
pywin32>=306; sys_platform == "win32"
|
pywin32>=306; sys_platform == "win32"
|
||||||
Reference in new issue
Block a user