meta data for this page
  •  

This is an old revision of the document!


Issues

Invalid packet blocking

ssh: Exception: Invalid packet blocking
ssh: Traceback (most recent call last):
ssh:   File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 2055, in run
ssh:     ptype, m = self.packetizer.read_message()
ssh:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ssh:   File "/usr/lib/python3/dist-packages/paramiko/packet.py", line 493, in read_message
ssh:     raise SSHException("Invalid packet blocking")
ssh: paramiko.ssh_exception.SSHException: Invalid packet blocking
ssh: 
Attempt of put Nr. 1 failed. EOFError: 
Attempt of put Nr. 2 failed. OSError: Socket is closed
Attempt of put Nr. 3 failed. OSError: Socket is closed
Attempt of put Nr. 4 failed. OSError: Socket is closed
Giving up after 5 attempts. OSError: Socket is closed
Attempt of put Nr. 1 failed. OSError: Socket is closed
Attempt of put Nr. 2 failed. OSError: Socket is closed

Not known reason or solution. SSH connection on remote side gently disconnects.

Workaround: Bump duplicity version on client side (from 0.8.22 to 1.2.2)

failed: not a valid RSA private key file

— Start running command BKP at 02:17:02.067 — BackendException: ssh connection to mybackup@192.168.64.251:22 failed: not a valid RSA private key file 02:17:02.740 Task 'BKP' failed with exit code '23'. — Finished state FAILED 'code 23' at 02:17:02.740 - Runtime 00:00:00.673 —

Reason: paramiko doesn't accept OpenSSH key format Solution: ssh-keygen -p -m PEM -f ~/.ssh/id_rsa