Error connecting to QEMU via SSH on Linux
Version: 2.0-rc8
S
ee 'systemctl status kiwix-server.service' for details.
[[0;32m O
K [0m] Started Authorization Manager.
[[
0;32m OK [0m] Started Modem Manager.
[
[0;32m OK [0m] Started Network Manager.
[[
0;32m OK [0m] Reached target Network.
[
[0;32m OK [0m] Started Launch hostapd.
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting OpenBSD Secure Shell server...
Starting Permit User Sessions...
Starting A high performance web server and a reverse proxy server...
Starting Network Manager Wait Online...
[[
0;32m OK [0m] Started Permit User Sessions.
Sta
rting Terminate Plymouth Boot Screen...
Starting Hold until boot process finishes up...
Sta
rting Network Manager Script Dispatcher Service...
R
a
s
pb
ia
n
G
NU
/L
in
u
x 9
w
ikifundi.hotspot
ttyAMA0
w
ikifundi
login:
p
i
Passwo
rd:
Last
login: Thu Sep 13 15:16:13 CEST 2018 on ttyAMA0
Lin
ux wikifundi.hotspot 4.10.0 #1 SMP Fri May 18 11:38:47 UTC 2018 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linu
x comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
SSH is enabl
ed and the default password for the 'pi' user has not been changed.
T
his is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
pi
@wikifundi:~$
s
udo systemctl
s
tart ssh;
e
xit
logout
R
a
sp
bi
an
GN
U/
Lin
ux
9
w
ikifundi.hotspot
ttyAMA0
w
ikifundi
logi
n:
--> Failed: Error reading SSH protocol banner[Errno 104] Connection reset by peer
Installation failed: Error reading SSH protocol banner[Errno 104] Connection reset by peer
[STAGE 5/6: Post-process contents (virtualized) - 83%]
--- Exception Trace ---
Traceback (most recent call last):
File "site-packages/paramiko/transport.py", line 1893, in _check_banner
File "site-packages/paramiko/packet.py", line 331, in readline
File "site-packages/paramiko/packet.py", line 485, in _read_timeout
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_installation.py", line 278, in run_installation
File "backend/qemu.py", line 138, in __enter__
File "backend/qemu.py", line 262, in _boot
File "site-packages/paramiko/client.py", line 338, in connect
File "site-packages/paramiko/transport.py", line 500, in start_client
File "site-packages/paramiko/transport.py", line 1749, in run
File "site-packages/paramiko/transport.py", line 1897, in _check_banner
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner[Errno 104] Connection reset by peer
---
Restoring system sleep policy
Resuming xdg-screensaver (wid #0x4600000)
Call: ['/usr/bin/xdg-screensaver', 'resume', '0x4600000']
xdg-screensaver: Window 0x4600000 does not exist
--> Restoring loop device (/dev/loop2) mode
Call: ['pkexec', 'chmod', '-v', '0660', '/dev/loop2']
mode of '/dev/loop2' changed from 0666 (rw-rw-rw-) to 0660 (rw-rw----)
--> Restoring SD-card device (/dev/sde) mode
Call: ['pkexec', 'chmod', '-v', '0660', '/dev/sde']
mode of '/dev/sde' changed from 0666 (rw-rw-rw-) to 0660 (rw-rw----)
*** DURATIONS SUMMARY ***
[1/6] Retrieve Master Image: 2 minutes and 34.53 seconds (Do 13 Sep 2018 15:05:34 to Do 13 Sep 2018 15:08:08 )
[2/6] Download contents: 6 minutes and 23.82 seconds (Do 13 Sep 2018 15:08:08 to Do 13 Sep 2018 15:14:32 )
[3/6] Image configuration (virtualized): 32 minutes and 52.4 seconds (Do 13 Sep 2018 15:14:32 to Do 13 Sep 2018 15:47:25 )
[4/6] Copy contents onto image: 14 minutes and 27 seconds (Do 13 Sep 2018 15:47:25 to Do 13 Sep 2018 16:01:52 )
[5/6] Post-process contents (virtualized): 1 minute and 46.35 seconds (Do 13 Sep 2018 16:01:52 to Do 13 Sep 2018 16:03:38 )
TOTAL: 58 minutes and 8.37 seconds (Do 13 Sep 2018 15:05:30 to Do 13 Sep 2018 16:03:38 )