I was not able to correct the problem by inserting Tom's code between lines 158 and 159 of /usr/local/lib/python2.7/site-packages/duplicity/backends/_ssh_paramiko.py . However I was able to correct the problem by *replacing* lines 157-159 with this code.
I was not able to correct the problem by inserting Tom's code between lines 158 and 159 of /usr/local/ lib/python2. 7/site- packages/ duplicity/ backends/ _ssh_paramiko. py . However I was able to correct the problem by *replacing* lines 157-159 with this code.