Hallo zusammen,
neben dem hier beschriebenen Problem stoße ich bei einer Installation from scratch derzeit auf ein weiteres: Ziemlich am Ende der Installation wird wiederholt erfolglos eine SSH-Verbindung zur Firewall versucht.
Wenn ich an dieser Stelle abbreche, dann:
- Ist eine SSH-Verbindung ohne Passwort möglich, man muss beim ersten Versuch dem Zertifikat vertrauen.
- Ist das root-Passwort auf der Firewall nicht mehr „Muster!“
- Zeigt linuxmuster-opnssense-reset dasselbe Verhalten.
- Wurde auch auf dem Server das Root-Passwort in ein mir unbekanntes verändert.
Hier ein Auszug aus dem setup.log (oberhalb sieht - bis auf Warnungen des Cryptography-Moduls - alles gut aus):
#### Restarting apparmor service ............................... Success! ####
#### Writing school name to school.conf ........................ Success! ####
#### Starting device import .................................... Success! ####
#### Waiting for opnsense to come up ####
#### Executing ssh command on 10.0.0.254: ####
#### * -> "exit" ####
#### * Unable to establish a SSH connection! ####
#### Executing ssh command on 10.0.0.254: ####
#### * -> "exit" ####
... viele Wiederholungen, dann
#### * Unable to establish a SSH connection! ####
#### Executing ssh command on 10.0.0.254: ####
#### * -> "exit" ####
Exception: Error reading SSH protocol banner
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1920, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/lib/python3/dist-packages/paramiko/packet.py", line 327, in readline
buf += self._read_timeout(timeout)
File "/usr/lib/python3/dist-packages/paramiko/packet.py", line 483, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1761, in run
self._check_banner()
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1924, in _check_banner
raise SSHException('Error reading SSH protocol banner' + str(e))
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
#### * Unable to establish a SSH connection! ####
#### Executing ssh command on 10.0.0.254: ####
#### * -> "exit" ####
#### * Unable to establish a SSH connection! ####
#### Executing ssh command on 10.0.0.254: ####
#### * -> "exit" ####
#### * Unable to establish a SSH connection! ####
#### Executing ssh command on 10.0.0.254: ####
#### * -> "exit"
... und nun geht es immer weiter so
Beste Grüße
Jörg